diff options
Diffstat (limited to 'src/test_xi2.c')
-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; |