summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2011-08-24 09:07:18 +1000
committerChase Douglas <chase.douglas@canonical.com>2011-08-23 17:58:11 -0700
commite51dd1b6bd4aa506231a41cbb400a8ece5a6aeaa (patch)
tree7889b44e4a43534bd5c7da7bc41a12744f46bba0
parent67e06b8f14ac39c6c38e851b94b879024ff806a9 (diff)
Reword the passive touch grab rules to be similar to the others
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> Reviewed-by: Chase Douglas <chase.douglas@canonical.com> Signed-off-by: Chase Douglas <chase.douglas@canonical.com>
-rw-r--r--specs/XI2proto.txt9
1 files changed, 6 insertions, 3 deletions
diff --git a/specs/XI2proto.txt b/specs/XI2proto.txt
index 3d34f30..8bf06cd 100644
--- a/specs/XI2proto.txt
+++ b/specs/XI2proto.txt
@@ -1483,10 +1483,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: