mirror of
https://github.com/hyprwm/hyprland-protocols.git
synced 2024-11-22 21:25:57 +01:00
hyprland_toplevel_export_v1: Revision 2 (#2)
* Add v2 request with wlr handle
This commit is contained in:
parent
0dcff94fc1
commit
301733ae46
1 changed files with 14 additions and 2 deletions
|
@ -37,7 +37,7 @@
|
||||||
Particularly useful for sharing a single window.
|
Particularly useful for sharing a single window.
|
||||||
</description>
|
</description>
|
||||||
|
|
||||||
<interface name="hyprland_toplevel_export_manager_v1" version="1">
|
<interface name="hyprland_toplevel_export_manager_v1" version="2">
|
||||||
<description summary="manager to inform clients and begin capturing">
|
<description summary="manager to inform clients and begin capturing">
|
||||||
This object is a manager which offers requests to start capturing from a
|
This object is a manager which offers requests to start capturing from a
|
||||||
source.
|
source.
|
||||||
|
@ -68,9 +68,21 @@
|
||||||
appropriate destroy request has been called.
|
appropriate destroy request has been called.
|
||||||
</description>
|
</description>
|
||||||
</request>
|
</request>
|
||||||
|
|
||||||
|
<!-- Version 2 -->
|
||||||
|
<request name="capture_toplevel_with_wlr_toplevel_handle" since="2">
|
||||||
|
<description summary="capture a toplevel">
|
||||||
|
Same as capture_toplevel, but with a zwlr_foreign_toplevel_handle_v1 handle.
|
||||||
|
</description>
|
||||||
|
<arg name="frame" type="new_id" interface="hyprland_toplevel_export_frame_v1"/>
|
||||||
|
<arg name="overlay_cursor" type="int"
|
||||||
|
summary="composite cursor onto the frame"/>
|
||||||
|
<arg name="handle" type="object" interface="zwlr_foreign_toplevel_handle_v1" allow-null="false" summary="the zwlr_foreign_toplevel_handle_v1 handle of the toplevel to be captured"/>
|
||||||
|
</request>
|
||||||
|
<!-- End Version 2 -->
|
||||||
</interface>
|
</interface>
|
||||||
|
|
||||||
<interface name="hyprland_toplevel_export_frame_v1" version="1">
|
<interface name="hyprland_toplevel_export_frame_v1" version="2">
|
||||||
<description summary="a frame ready for copy">
|
<description summary="a frame ready for copy">
|
||||||
This object represents a single frame.
|
This object represents a single frame.
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue