aboutsummaryrefslogtreecommitdiffstats
path: root/protocol
diff options
context:
space:
mode:
authorFORT David <rdp.effort@gmail.com>2015-10-02 14:20:12 +0200
committerBryce Harrington <bryce@osg.samsung.com>2015-10-07 17:31:57 -0700
commitb6809e5a8051fd193fe4b041a3245c22432195db (patch)
treeb2c2f73f55e012bfa37c0f131f10b5a90ea27254 /protocol
parentclient: Improve wl_display_roundtrip(_queue)() documentation (diff)
downloadwayland-b6809e5a8051fd193fe4b041a3245c22432195db.tar
wayland-b6809e5a8051fd193fe4b041a3245c22432195db.tar.gz
wayland-b6809e5a8051fd193fe4b041a3245c22432195db.tar.bz2
wayland-b6809e5a8051fd193fe4b041a3245c22432195db.tar.lz
wayland-b6809e5a8051fd193fe4b041a3245c22432195db.tar.xz
wayland-b6809e5a8051fd193fe4b041a3245c22432195db.tar.zst
wayland-b6809e5a8051fd193fe4b041a3245c22432195db.zip
wayland: add a release request on wl_seat
This is required if we want to correctly remove a wl_seat compositor-side. A wl_seat is announced as a global object, then it is bound by the client. When the compositor wants to remove the seat, it shall announce the global removal of the object. The client can then call the release request on the wl_seat (which means I won't use that object anymore). Acked-by: Derek Foreman <derekf@osg.samsung.com> Reviewed-by: Jonas Ã…dahl <jadahl@gmail.com>
Diffstat (limited to 'protocol')
-rw-r--r--protocol/wayland.xml11
1 files changed, 10 insertions, 1 deletions
diff --git a/protocol/wayland.xml b/protocol/wayland.xml
index 42c9309..59819e9 100644
--- a/protocol/wayland.xml
+++ b/protocol/wayland.xml
@@ -1329,7 +1329,7 @@
</request>
</interface>
- <interface name="wl_seat" version="4">
+ <interface name="wl_seat" version="5">
<description summary="group of input devices">
A seat is a group of keyboards, pointer and touch devices. This
object is published as a global during start up, or when such a
@@ -1400,6 +1400,15 @@
<arg name="name" type="string"/>
</event>
+ <!-- Version 5 additions -->
+
+ <request name="release" type="destructor" since="5">
+ <description summary="release the seat object">
+ Using this request client can tell the server that it is not going to
+ use the seat object anymore.
+ </description>
+ </request>
+
</interface>
<interface name="wl_pointer" version="3">