[PATCH wayland] protocol: Add a name event to give seat name

Kristian Høgsberg hoegsberg at gmail.com
Tue Jun 4 22:09:31 PDT 2013


On Mon, Jun 03, 2013 at 01:19:47PM +0100, Rob Bradford wrote:
> From: Rob Bradford <rob at linux.intel.com>
> 
> This provides the ability for a client to differentiate events from
> different seats in a multiple seat environment.
> 
> v2: handled versioning correctly based on feedback from Daniel and Ander

Argh, I applied the original patch even though I saw this on the list.
Oh well, I pushed a follow-up commit.

Kristian

> ---
>  protocol/wayland.xml | 14 +++++++++++++-
>  1 file changed, 13 insertions(+), 1 deletion(-)
> 
> diff --git a/protocol/wayland.xml b/protocol/wayland.xml
> index f3ba296..3d4ec9b 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
> @@ -1231,6 +1231,18 @@
>        </description>
>        <arg name="id" type="new_id" interface="wl_touch"/>
>      </request>
> +
> +    <!-- Version 2 of additions -->
> +
> +    <event name="name" since="2">
> +      <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>
> +
>    </interface>
>  
>    <interface name="wl_pointer" version="1">
> -- 
> 1.8.1.4
> 
> _______________________________________________
> wayland-devel mailing list
> wayland-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/wayland-devel


More information about the wayland-devel mailing list