diff options
author | Andri Yngvason <andri@yngvason.is> | 2020-02-05 21:50:03 +0000 |
---|---|---|
committer | Simon Ser <contact@emersion.fr> | 2020-02-10 21:01:38 +0100 |
commit | 273b280f469f5be3455f98f4230b169cc9ee67f2 (patch) | |
tree | d92b9e5432f9fe011a706e3a9d5f1e1fe9c3d2df /protocol/wlr-virtual-pointer-unstable-v1.xml | |
parent | 2fea2fced8350ce52b3ea9c2d3f62797f7e61b56 (diff) |
virtual-pointer: Add request for mapping to specific output
Diffstat (limited to 'protocol/wlr-virtual-pointer-unstable-v1.xml')
-rw-r--r-- | protocol/wlr-virtual-pointer-unstable-v1.xml | 17 |
1 files changed, 15 insertions, 2 deletions
diff --git a/protocol/wlr-virtual-pointer-unstable-v1.xml b/protocol/wlr-virtual-pointer-unstable-v1.xml index e21b4d71..ea243e7c 100644 --- a/protocol/wlr-virtual-pointer-unstable-v1.xml +++ b/protocol/wlr-virtual-pointer-unstable-v1.xml @@ -23,7 +23,7 @@ DEALINGS IN THE SOFTWARE. </copyright> - <interface name="zwlr_virtual_pointer_v1" version="1"> + <interface name="zwlr_virtual_pointer_v1" version="2"> <description summary="virtual pointer"> This protocol allows clients to emulate a physical pointer device. The requests are mostly mirror opposites of those specified in wl_pointer. @@ -118,7 +118,7 @@ </request> </interface> - <interface name="zwlr_virtual_pointer_manager_v1" version="1"> + <interface name="zwlr_virtual_pointer_manager_v1" version="2"> <description summary="virtual pointer manager"> This object allows clients to create individual virtual pointer objects. </description> @@ -135,5 +135,18 @@ <request name="destroy" type="destructor" since="1"> <description summary="destroy the virtual pointer manager"/> </request> + + <!-- Version 2 additions --> + <request name="create_virtual_pointer_with_output" since="2"> + <description summary="Create a new virtual pointer"> + Creates a new virtual pointer. The seat and the output arguments are + optional. If the seat argument is set, the compositor should assign the + input device to the requested seat. If the output argument is set, the + compositor should map the input device to the requested output. + </description> + <arg name="seat" type="object" interface="wl_seat" allow-null="true"/> + <arg name="output" type="object" interface="wl_output" allow-null="true"/> + <arg name="id" type="new_id" interface="zwlr_virtual_pointer_v1"/> + </request> </interface> </protocol> |