summaryrefslogtreecommitdiff
path: root/XI2.h
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2009-07-20 16:25:08 +1000
committerPeter Hutterer <peter.hutterer@who-t.net>2009-07-20 16:27:57 +1000
commit006afb766ac1d01ad9d57035af56a5b48c6ec5d3 (patch)
treefe2883db06bf52547954f9e3c0e354d07ffce3e1 /XI2.h
parentaaefb1e12229cc7bed40f6aaec3641db840aa4f2 (diff)
XI2: remove Keysym grabs, use Keycode grabs instead.
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. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Diffstat (limited to 'XI2.h')
-rw-r--r--XI2.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/XI2.h b/XI2.h
index 9430480..6ba1377 100644
--- a/XI2.h
+++ b/XI2.h
@@ -62,14 +62,14 @@
/* Passive grab types */
#define XIGrabtypeButton 0
-#define XIGrabtypeKeysym 1
+#define XIGrabtypeKeycode 1
#define XIGrabtypeEnter 2
#define XIGrabtypeFocusIn 3
/* Passive grab modifier */
#define XIAnyModifier (1U << 31)
#define XIAnyButton 0
-#define XIAnyKeysym 0
+#define XIAnyKeycode 0
/* XIAllowEvents event-modes */
#define XIAsyncDevice 0