diff options
author | Peter Hutterer <peter.hutterer@who-t.net> | 2009-07-21 16:20:03 +1000 |
---|---|---|
committer | Peter Hutterer <peter.hutterer@who-t.net> | 2009-07-23 09:34:36 +1000 |
commit | 10a5596e9cd6dbca0826929e03e9495703279822 (patch) | |
tree | d207ebe995b4f435e93d11f1207de671d272f954 /src | |
parent | 6aa2dbd555ca4d659acbebffabe28bf648eed32d (diff) |
test-xi2: Update to keycode grabs instead of keysym grabs.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Diffstat (limited to 'src')
-rw-r--r-- | src/test_xi2.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test_xi2.c b/src/test_xi2.c index 6dab0dc..8c96191 100644 --- a/src/test_xi2.c +++ b/src/test_xi2.c @@ -303,10 +303,10 @@ test_xi2(Display *display, XISetMask(mask.mask, XI_Motion); XIGrabButton(display, 2, 1, win, None, GrabModeAsync, GrabModeAsync, False, &mask, nmods, modifiers); - XIGrabKeysym(display, 3, 0x71, win, GrabModeAsync, GrabModeAsync, + XIGrabKeycode(display, 3, 24 /* q */, win, GrabModeAsync, GrabModeAsync, False, &mask, nmods, modifiers); XIUngrabButton(display, 3, 1, win, nmods - 2, &modifiers[2]); - XIUngrabKeysym(display, 3, 0x71, win, nmods - 2, &modifiers[2]); + XIUngrabKeycode(display, 3, 24 /* q */, win, nmods - 2, &modifiers[2]); } mask.deviceid = XIAllMasterDevices; |