From 27eacf423afcefa6c85a383f305db1e0d350805f Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Sat, 30 Mar 2013 01:11:43 -0400 Subject: [PATCH] docs: Improve wl_touch protocol docs Some descriptions were missing here. --- protocol/wayland.xml | 36 +++++++++++++++++++++++++++--------- 1 file changed, 27 insertions(+), 9 deletions(-) diff --git a/protocol/wayland.xml b/protocol/wayland.xml index 52bc98f8..a53cb712 100644 --- a/protocol/wayland.xml +++ b/protocol/wayland.xml @@ -1391,29 +1391,48 @@ - + + The wl_touch interface represents a touchscreen + associated with a seat. + + Touch interactions can consist of one or more contacts. + For each contact, a series of events is generated, starting + with a down event, followed by one or more motion events, + and ended with an up event. Events relating to the same + contact point can be identified by the ID of the sequence. + + Notifies the client of a new contact point on one + of its surfaces. + - - - + + + + + Notifies the client that a touch has ended. + - + + + Notifies the client that the position of a contact point + has changed. + - - - + + + @@ -1431,7 +1450,6 @@ - An output describes part of the compositor geometry. The