[PATCH inputproto multitouch 10/13] Touch grabs must be sync only

Peter Hutterer peter.hutterer at who-t.net
Tue Aug 23 16:07:20 PDT 2011


The ownership passing is quite similar to sync grabs, so require touch grabs
to always be sync.

Signed-off-by: Peter Hutterer <peter.hutterer at who-t.net>
---
 specs/XI2proto.txt |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/specs/XI2proto.txt b/specs/XI2proto.txt
index f88a283..c63e85f 100644
--- a/specs/XI2proto.txt
+++ b/specs/XI2proto.txt
@@ -1548,6 +1548,9 @@ grab deactivates, addional LeaveNotify events with mode
 XIPassiveUngrabNotify are generated and sent to the grabbing client
 before the grab deactivates.
 
+For GrabtypeTouchBegin, grab_mode must be GrabSync or a BadValue
+error is generated.
+
 See section 4.4 for additional notes on touch grabs, as they do not
 behave like traditional grabs: in particular, they do not freeze the
 device, and delivery of touch events continues even if the device is
-- 
1.7.6



More information about the xorg-devel mailing list