summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2009-07-21 11:41:43 +1000
committerPeter Hutterer <peter.hutterer@who-t.net>2009-07-22 14:15:44 +1000
commitc439c39cc0f985743fbc464849f6caa805b1a1a9 (patch)
treea98aa896333dc3a921c97057636aaf648138ce5a /include
parent4f224f4da1405959b74c05d6b15469cf6c0c498f (diff)
Replace keysym grabs with keycode grabs.
Keysym grabs are tricky to get right for applications that are more complicated than demo applications. otoh, we know keycode grabs are working. So let's go with keycode grabs for now and add keysym grabs later when we've sorted out the details. Requires inputproto 1.9.99.15 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Diffstat (limited to 'include')
-rw-r--r--include/X11/extensions/XInput2.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/include/X11/extensions/XInput2.h b/include/X11/extensions/XInput2.h
index 1b46443..c3c0972 100644
--- a/include/X11/extensions/XInput2.h
+++ b/include/X11/extensions/XInput2.h
@@ -429,10 +429,10 @@ extern int XIGrabButton(
XIGrabModifiers *modifiers_inout
);
-extern int XIGrabKeysym(
+extern int XIGrabKeycode(
Display* display,
int deviceid,
- int keysym,
+ int keycode,
Window grab_window,
int grab_mode,
int paired_device_mode,
@@ -475,10 +475,10 @@ extern Status XIUngrabButton(
XIGrabModifiers *modifiers
);
-extern Status XIUngrabKeysym(
+extern Status XIUngrabKeycode(
Display* display,
int deviceid,
- int keysym,
+ int keycode,
Window grab_window,
int num_modifiers,
XIGrabModifiers *modifiers