diff options
Diffstat (limited to 'src')
-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 |