mirror of
https://github.com/X11Libre/xserver.git
synced 2026-10-01 22:03:09 +00:00
input: remove XI2 keysym grabs, use keycode grabs instead.
Keysym grabs are tricky in the details, keycode grabs are known to work. So for now, provide keycode grabs only. Requires inputproto 1.9.99.15. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
parent
afc3e3b595
commit
9a1bfa5664
5 changed files with 8 additions and 11 deletions
|
|
@ -451,7 +451,7 @@ DeletePassiveGrabFromList(GrabPtr pMinuendGrab)
|
|||
any_modifier = (pMinuendGrab->grabtype == GRABTYPE_XI2) ?
|
||||
(unsigned int)XIAnyModifier : (unsigned int)AnyModifier;
|
||||
any_key = (pMinuendGrab->grabtype == GRABTYPE_XI2) ?
|
||||
(unsigned int)XIAnyKeysym : (unsigned int)AnyKey;
|
||||
(unsigned int)XIAnyKeycode : (unsigned int)AnyKey;
|
||||
ndels = nadds = nups = 0;
|
||||
ok = TRUE;
|
||||
for (grab = wPassiveGrabs(pMinuendGrab->window);
|
||||
|
|
|
|||
Loading…
Reference in a new issue