diff options
author | Peter Hutterer <peter.hutterer@who-t.net> | 2011-10-26 08:03:20 +1000 |
---|---|---|
committer | Peter Hutterer <peter.hutterer@who-t.net> | 2011-10-27 09:51:25 +1000 |
commit | 01ea71c11d1eae6787ae16ef4044c7d2b34e1800 (patch) | |
tree | 2b98742cd01223d0e1da896a31838ea30c0fa544 | |
parent | c95ba34858f3fd7db284a11a2f00cf77990e4f9e (diff) |
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Reviewed-by: Julien Cristau <jcristau@debian.org>
-rw-r--r-- | src/xinput.c | 5 |
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 |