summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2010-07-22 10:40:01 +1000
committerPeter Hutterer <peter.hutterer@who-t.net>2010-07-22 10:57:34 +1000
commit2f636402d882c775497e88c1f74477c4f6e9521d (patch)
tree9041959c57612df9339c783e36f45b50d6fb1c44
parent3d3565c069558b9d1e8e0e86332415731b88b11d (diff)
Add ifdefs for pre ABI 12 support.
The server doesn't provide these defines anymore, define them here for future use. To be purged whenever we drop support for the current server. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-rw-r--r--src/evdev.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/evdev.c b/src/evdev.c
index 44ac14b..adda180 100644
--- a/src/evdev.c
+++ b/src/evdev.c
@@ -61,6 +61,12 @@
#endif
+#if GET_ABI_MAJOR(ABI_XINPUT_VERSION) > 12
+/* removed from server, purge when dropping support for server 1.10 */
+#define XI86_CONFIGURED 0x02
+#define XI86_SEND_DRAG_EVENTS 0x08
+#endif
+
#ifndef MAXDEVICES
#include <inputstr.h> /* for MAX_DEVICES */
#define MAXDEVICES MAX_DEVICES