From 53b57a63eeee069d509827dd4fc5b75e28385120 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Sat, 30 Mar 2013 01:11:40 -0400 Subject: [PATCH] docs: Improve the wl_seat protocol docs Expand the main description and tell if requests don't have an effect. --- protocol/wayland.xml | 35 ++++++++++++++++++++++------------- 1 file changed, 22 insertions(+), 13 deletions(-) diff --git a/protocol/wayland.xml b/protocol/wayland.xml index 3e674f3..442862d 100644 --- a/protocol/wayland.xml +++ b/protocol/wayland.xml @@ -1105,28 +1105,28 @@ - - A group of keyboards, pointer (mice, for example) and touch - devices . This object is published as a global during start up, - or when such a device is hot plugged. A seat typically has a - pointer and maintains a keyboard_focus and a pointer_focus. + + A seat is a group of keyboards, pointer (mice, for example) and + touch devices. This object is published as a global during + start up, or when such a device is hot plugged. A seat typically + has a pointer and maintains a keyboard focus, a pointer focus and + a touch focus. This is a bitmask of capabilities this seat has; if a member is - set, then it is present on the seat. + set, then it is present on the seat. - - - + + + - This is emitted whenever a seat gains or loses the pointer, - keyboard or touch capabilities. The argument is a wl_seat_caps_mask + keyboard or touch capabilities. The argument is a capability enum containing the complete set of capabilities this seat has. @@ -1136,22 +1136,31 @@ The ID provided will be initialized to the wl_pointer interface for this seat. + + This request only takes effect if the seat has the pointer + capability. - + The ID provided will be initialized to the wl_keyboard interface for this seat. + + This request only takes effect if the seat has the keyboard + capability. - + The ID provided will be initialized to the wl_touch interface for this seat. + + This request only takes effect if the seat has the touch + capability. -- 2.7.4