Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion libwayshot/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -452,7 +452,12 @@ impl WayshotConnection {
}
}

fn capture_output_frame_get_state_shm(
// This API is exposed to provide users with access to window manager (WM)
// information. For instance, enabling Vulkan in wlroots alters the display
// format. Consequently, using PipeWire to capture streams without knowing
// the current format can lead to color distortion. This function attempts
// a trial screenshot to determine the screen's properties.
pub fn capture_output_frame_get_state_shm(
&self,
cursor_overlay: i32,
output: &WlOutput,
Expand Down