From 84c049b6603e370afcd267ce4c53a566f842fd69 Mon Sep 17 00:00:00 2001 From: Chase Douglas Date: Mon, 12 Dec 2011 10:50:58 -0800 Subject: State that future touch IDs are indeterminate 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 Signed-off-by: Chase Douglas --- specs/XI2proto.txt | 8 +++++--- 1 file 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. -- cgit v1.2.3