[PATCH xinput 2/2] We support XI 2.1 now

Peter Hutterer peter.hutterer at who-t.net
Tue Oct 25 15:14:19 PDT 2011


Signed-off-by: Peter Hutterer <peter.hutterer at who-t.net>
---
 src/xinput.c |    7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)

diff --git a/src/xinput.c b/src/xinput.c
index ddb61ab..a4b682f 100644
--- a/src/xinput.c
+++ b/src/xinput.c
@@ -28,7 +28,12 @@
 int xi_opcode;
 #if HAVE_XI2
 int xi2_supported_major = 2;
-int xi2_supported_minor = 0;
+int xi2_supported_minor =
+#if HAVE_XI21
+                        1;
+#else
+                        0;
+#endif
 #endif
 
 typedef int (*prog)(Display* display, int argc, char *argv[],
-- 
1.7.7



More information about the xorg-devel mailing list