summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2009-05-29 13:25:32 +1000
committerPeter Hutterer <peter.hutterer@who-t.net>2009-05-29 13:25:32 +1000
commit8aff0836afaef4397f9df273cc90edeca1ab9641 (patch)
tree138a8f34f2b1862dd3a9728735f4bc0c09a89799
parente102c504ec58e6bc4620e7cd01ea34de665e5fd9 (diff)
Specify modifier interactions with attached slave devices on passive grabs.
-rw-r--r--XI2proto.txt10
1 files changed, 10 insertions, 0 deletions
diff --git a/XI2proto.txt b/XI2proto.txt
index 91fde4e..785eb27 100644
--- a/XI2proto.txt
+++ b/XI2proto.txt
@@ -954,6 +954,16 @@ XI2. Clients should ignore this data.
by being included in the event-list. For either value of
owner-events, unreported events are discarded.
+ If deviceid specifies a master pointer, the modifiers of the paired
+ master keyboard are used. If deviceid specifies a slave pointer
+ the modifiers of the master keyboard paired with the attached master
+ pointers are used. If deviceid specifies a slave keyboard, the
+ modifiers of the attached master keyboard are used. Note that
+ activating a grab on a slave device detaches the device from its
+ master. In this case, the modifiers after activation of the grab are
+ from the slave device only and may be different to the modifier state
+ when the grab was triggered.
+
In the future, if grab_type is GrabtypeButton or GrabtypeKeyboard, the
device is actively grabbed if:
- the device is not grabbed, and