mirror of
https://github.com/X11Libre/xserver.git
synced 2026-03-24 10:14:52 +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:
@@ -643,10 +643,10 @@ static void dix_grab_matching(void)
|
||||
rc = GrabMatchesSecond(&b, &a, FALSE);
|
||||
g_assert(rc == TRUE);
|
||||
|
||||
/* AnyKey or XIAnyKeysym must succeed */
|
||||
/* AnyKey or XIAnyKeycode must succeed */
|
||||
a.grabtype = GRABTYPE_XI2;
|
||||
b.grabtype = GRABTYPE_XI2;
|
||||
a.detail.exact = XIAnyKeysym;
|
||||
a.detail.exact = XIAnyKeycode;
|
||||
b.detail.exact = 1;
|
||||
a.modifiersDetail.exact = 1;
|
||||
b.modifiersDetail.exact = 1;
|
||||
|
||||
Reference in New Issue
Block a user