summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2013-04-04 11:06:02 +1000
committerKristian Høgsberg <krh@bitplanet.net>2013-04-04 16:40:12 -0400
commit4f7f09b4c873d92b6697edc6d0d15bc939ac1a0c (patch)
tree457f902c789e7d89960e101e4417ced08f3b3cd9
parent9fbcc7ae7dbbca215d0a1edcede4b7cc95ced7f2 (diff)
protocol: input documentation fixes
Fix summary for wl_touch::motion, extend summary for wl_touch::down to match up/motion a bit better. Fix a typo in wl_touch, and claim that it's zero or more update events, not one or more. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-rw-r--r--protocol/wayland.xml8
1 files changed, 4 insertions, 4 deletions
diff --git a/protocol/wayland.xml b/protocol/wayland.xml
index 45a3298..eda9441 100644
--- a/protocol/wayland.xml
+++ b/protocol/wayland.xml
@@ -1400,13 +1400,13 @@
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
+ with a down event, followed by zero or more motion events,
+ and ending with an up event. Events relating to the same
contact point can be identified by the ID of the sequence.
</description>
<event name="down">
- <description summary="touch down event">
+ <description summary="touch down event and beginning of a touch sequence">
A new touch point has appeared on the surface. This touch point is
assigned a unique @id. Future events from this touchpoint reference
this ID. The ID ceases to be valid after a touch up event and may be
@@ -1432,7 +1432,7 @@
</event>
<event name="motion">
- <description summary="end of a touch event sequence">
+ <description summary="update of touch point coordinates">
A touchpoint has changed coordinates.
</description>
<arg name="time" type="uint" summary="timestamp with millisecond granularity"/>