From 5371f0d4f88e83921e65955851a3bcab6ee720ef Mon Sep 17 00:00:00 2001 From: Povilas Kanapickas Date: Tue, 30 Jun 2020 23:28:39 +0300 Subject: specs: Fix example of touch event processing --- specs/XI2proto.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'specs') 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 -- cgit v1.2.3