summaryrefslogtreecommitdiff
path: root/specs
diff options
context:
space:
mode:
authorPovilas Kanapickas <povilas@radix.lt>2020-06-30 23:28:39 +0300
committerPovilas Kanapickas <povilas@radix.lt>2020-08-18 09:36:39 +0000
commit5371f0d4f88e83921e65955851a3bcab6ee720ef (patch)
treefd22997e9a288e189e6fa05a6e316a539aeba921 /specs
parent31aa0990d654a708466f296f32ad70071c5ae8f1 (diff)
specs: Fix example of touch event processing
Diffstat (limited to 'specs')
-rw-r--r--specs/XI2proto.txt3
1 files changed, 2 insertions, 1 deletions
diff --git a/specs/XI2proto.txt b/specs/XI2proto.txt
index f311b11..d5747c9 100644
--- a/specs/XI2proto.txt
+++ b/specs/XI2proto.txt
@@ -2690,7 +2690,8 @@ While client I wants to process pointer events on window W's parent, window Y.
* I calls XIPassiveGrab for XI_{ButtonPress,MotionNotify,ButtonRelease} to
create a synchronous pointer grab from D on Y.
* C calls XISelectEvent for XI_Touch{Begin|Update|Ownership|End} from D on W.
-* I receives a ButtonPress event whenever a touch begins within W, and is
+* I receives a ButtonPress and MotionNotify events whenever a (direct device)
+ touch begins within W, and is
considered the owner of the event. C receives a TouchBegin event, but does
not receive a TouchOwnership event.
* When the touchpoint moves, C will receive a TouchUpdate event. Event