summaryrefslogtreecommitdiff
path: root/XI2proto.txt
diff options
context:
space:
mode:
Diffstat (limited to 'XI2proto.txt')
-rw-r--r--XI2proto.txt6
1 files changed, 5 insertions, 1 deletions
diff --git a/XI2proto.txt b/XI2proto.txt
index 00e5e8d..4b67d66 100644
--- a/XI2proto.txt
+++ b/XI2proto.txt
@@ -1050,7 +1050,11 @@ are required to be 0.
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.
+ 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: