summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRob Bradford <rob@linux.intel.com>2013-05-31 18:08:23 +0100
committerKristian Høgsberg <krh@bitplanet.net>2013-06-05 00:05:25 -0400
commitdce104dcc23ea40795dffab05dfe753f4fd887d7 (patch)
tree0d8acbe5e125d553f00540f2362672931ccd8608
parentbc3e020475e0fc29f265c4f8029f03584bee086e (diff)
protocol: Add a name event to give seat name
This provides the ability for a client to differentiate events from different seats in a multiple seat environment.
-rw-r--r--protocol/wayland.xml11
1 files changed, 10 insertions, 1 deletions
diff --git a/protocol/wayland.xml b/protocol/wayland.xml
index f3ba296..6302271 100644
--- a/protocol/wayland.xml
+++ b/protocol/wayland.xml
@@ -1172,7 +1172,7 @@
</request>
</interface>
- <interface name="wl_seat" version="1">
+ <interface name="wl_seat" version="2">
<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
@@ -1199,6 +1199,15 @@
<arg name="capabilities" type="uint"/>
</event>
+ <event name="name">
+ <description summary="unique identifier for this seat">
+ In a multiseat configuration this can be used by the client to help
+ identify which physical devices the seat represents. Based on
+ the seat configuration used by the compositor.
+ </description>
+ <arg name="name" type="string"/>
+ </event>
+
<request name="get_pointer">
<description summary="return pointer object">
The ID provided will be initialized to the wl_pointer interface