summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2011-10-26 08:03:20 +1000
committerPeter Hutterer <peter.hutterer@who-t.net>2011-10-27 09:51:25 +1000
commit01ea71c11d1eae6787ae16ef4044c7d2b34e1800 (patch)
tree2b98742cd01223d0e1da896a31838ea30c0fa544
parentc95ba34858f3fd7db284a11a2f00cf77990e4f9e (diff)
We support XI 2.1 nowHEADmaster
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> Reviewed-by: Julien Cristau <jcristau@debian.org>
-rw-r--r--src/xinput.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/xinput.c b/src/xinput.c
index 432cffc..1ed0c8c 100644
--- a/src/xinput.c
+++ b/src/xinput.c
@@ -194,6 +194,11 @@ xinput_version(Display *display)
{
int maj = 2,
min = 0;
+
+#if HAVE_XI21
+ min = 1;
+#endif
+
XIQueryVersion(display, &maj, &min);
}
#endif