summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2010-07-22 11:42:38 +1000
committerPeter Hutterer <peter.hutterer@who-t.net>2010-07-22 11:42:38 +1000
commit4dd15cf37d388a720e502f364410c28f17e03ce6 (patch)
treed70d1f46f8aebff4977c5b645bf1c4f5bfccc183
parente6f209d1aacef18e68eeede84c7bfca4c1c100c8 (diff)
Add some ifdefs missing from XINPUT ABI 12
These flags are not used in the newer servers anymore. Define them locally, remove the defines once we stop supporting server 1.9. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-rw-r--r--src/synaptics.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/synaptics.c b/src/synaptics.c
index 1dd67d3..a60a336 100644
--- a/src/synaptics.c
+++ b/src/synaptics.c
@@ -80,6 +80,12 @@
#include <ptrveloc.h>
#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
+
typedef enum {
NO_EDGE = 0,
BOTTOM_EDGE = 1,