summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChase Douglas <chase.douglas@canonical.com>2011-12-12 10:50:58 -0800
committerChase Douglas <chase.douglas@canonical.com>2011-12-12 13:47:48 -0800
commit84c049b6603e370afcd267ce4c53a566f842fd69 (patch)
tree4a9c80bf5be0595c2deeb7b16f81f7f60c92f137
parent7d20c9bf38d3d47adc7fb1a70faa370dda1a390c (diff)
State that future touch IDs are indeterminatemultitouch
This just makes it absolutely clear that clients should not make any assumptions about future touch ID values. I also added "strictly monotonically" increasing to the definition of touch IDs. It's a more precise definition of the protocol. Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net> Signed-off-by: Chase Douglas <chase.douglas@canonical.com>
-rw-r--r--specs/XI2proto.txt8
1 files changed, 5 insertions, 3 deletions
diff --git a/specs/XI2proto.txt b/specs/XI2proto.txt
index ba5f7b7..6082166 100644
--- a/specs/XI2proto.txt
+++ b/specs/XI2proto.txt
@@ -2149,9 +2149,11 @@ may not be the logical center of the touch.
Touch tracking IDs are provided in the detail field of touch events. Its
value is always provided in every touch event. Tracking IDs are
-represented as unsigned 32-bit values and increase in value for each new
-touch, wrapping back to 0 upon reaching the numerical limit of IDs. IDs are
-globally unique.
+represented as unsigned 32-bit values and increase strictly monotonically in
+value for each new touch, wrapping back to 0 upon reaching the numerical limit
+of IDs. The increment between two touch IDs is indeterminate. Clients may not
+assume that any future touches will have specific touch IDs. IDs are globally
+unique.
Touch events do not generate enter/leave events.