[PATCH inputproto multitouch 08/13] Reword the passive touch grab rules to be similar to the others

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


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

diff --git a/specs/XI2proto.txt b/specs/XI2proto.txt
index 6e2544a..1da4759 100644
--- a/specs/XI2proto.txt
+++ b/specs/XI2proto.txt
@@ -1484,10 +1484,13 @@ device is actively grabbed if:
         - a passive grab of the same grab_type + modifier combination does not
           does not exist on an ancestor of grab_window.
 
-Or if grab_type is GrabtypeTouchBegin, a touch grab begins if:
+Otherwise, if grab_type is GrabtypeTouchBegin, a touch grab begins if:
 
-- a touch begins in grab_window or one of its ancestors, and
-- the specified modifier keys are down
+        - the device is not actively grabbed, and
+        - the specified modifier keys are down
+        - a touch begins in grab_window or a descendant of grab_window, and
+        - a passive grab of the same grab_type + modifier combination does not
+          does not exist on an ancestor of grab_window.
 
 Ownership of the touch sequence is granted to the grabbing client if:
 
-- 
1.7.6



More information about the xorg-devel mailing list