mirror of
https://gitlab.freedesktop.org/xorg/proto/xorgproto.git
synced 2026-05-07 07:18:03 +02:00
Revert "XI2proto.txt: grabbing a slave does not detach it anymore."
Detaching a slave device during an explicit grab makes sense from a UI
perspective. It allows a client to get exclusive access to a device without
that device's events also feeding into the respective master device.
Thanks to Thomas Jaeger for his contribution.
This reverts commit d0b1e55b87.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
parent
b31776bb5b
commit
d8a1c1b1ab
1 changed files with 5 additions and 1 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue