summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2009-07-20 16:39:16 +1000
committerPeter Hutterer <peter.hutterer@who-t.net>2009-07-22 12:12:51 +1000
commit9a1bfa5664a80f03cedeb89b9f8a86115a08e7af (patch)
treea20141d9de6d3f8795e0a2d7a0e642c76480ceee /test
parentafc3e3b5955ea4a49308399820cc4c499f4312da (diff)
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>
Diffstat (limited to 'test')
-rw-r--r--test/input.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/input.c b/test/input.c
index e2faaeff9..8beb9fa9b 100644
--- a/test/input.c
+++ b/test/input.c
@@ -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;