Skip to content

zwlr_screencopy_manager_v1¤

wayland.zwlr_screencopy_manager_v1 ¤

Manager to inform clients and begin capturing

This object is a manager which offers requests to start capturing from a source.

Methods:

capture_output ¤

Capture an output

Capture the next frame of an entire output.

Parameters:

  • overlay_cursor ¤

    (int) –

    Composite cursor onto the frame

Returns:

capture_output_region ¤

capture_output_region(
    overlay_cursor: int, output: wl_output, x: int, y: int, width: int, height: int
) -> zwlr_screencopy_frame_v1

Capture an output's region

Capture the next frame of an output's region.

The region is given in output logical coordinates, see xdg_output.logical_size. The region will be clipped to the output's extents.

Parameters:

  • overlay_cursor ¤

    (int) –

    Composite cursor onto the frame

Returns:

destroy ¤

destroy() -> None

Destroy the manager

All objects created by the manager will still remain valid, until their appropriate destroy request has been called.