From 01ea71c11d1eae6787ae16ef4044c7d2b34e1800 Mon Sep 17 00:00:00 2001 From: Peter Hutterer Date: Wed, 26 Oct 2011 08:03:20 +1000 Subject: We support XI 2.1 now Signed-off-by: Peter Hutterer Reviewed-by: Julien Cristau --- src/xinput.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src') 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 -- cgit v1.2.3