screencopy: add capture_output_region

This commit is contained in:
emersion 2018-06-23 14:12:06 +01:00
parent a7d1452ec4
commit 5841bde0ad
No known key found for this signature in database
GPG key ID: 0FDE7BE0E88F5E48

View file

@ -44,8 +44,8 @@
</description>
<request name="capture_output">
<description summary="start capturing">
Capture the next frame of a an entire output.
<description summary="capture an output">
Capture the next frame of an entire output.
</description>
<arg name="frame" type="new_id" interface="zwlr_screencopy_frame_v1"/>
<arg name="overlay_cursor" type="int"
@ -53,6 +53,23 @@
<arg name="output" type="object" interface="wl_output"/>
</request>
<request name="capture_output_region">
<description summary="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.
</description>
<arg name="frame" type="new_id" interface="zwlr_screencopy_frame_v1"/>
<arg name="overlay_cursor" type="int"
summary="include custom client hardware cursor on top of the frame"/>
<arg name="output" type="object" interface="wl_output"/>
<arg name="x" type="int"/>
<arg name="y" type="int"/>
<arg name="width" type="int"/>
<arg name="height" type="int"/>
</request>
<request name="destroy" type="destructor">
<description summary="destroy the manager">
All objects created by the manager will still remain valid, until their