summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJeff Smith <whydoubt@yahoo.com>2008-06-15 01:42:14 -0500
committerPeter Hutterer <peter@cs.unisa.edu.au>2008-06-16 13:19:46 +0930
commit9e4c44ab08fe8e5ad701750291970e03fc9aaf88 (patch)
tree9f4c13af1c93daaea64b8a53825a9cdbce9c9a8d /src
parente72f4fbc61f4a0acf99a4b31f16fdebde9d339f1 (diff)
Check for XINPUT ABI 3.
Signed-off-by: Peter Hutterer <peter@cs.unisa.edu.au>
Diffstat (limited to 'src')
-rw-r--r--src/vmmouse.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vmmouse.c b/src/vmmouse.c
index 1e2a1c9..3b02df4 100644
--- a/src/vmmouse.c
+++ b/src/vmmouse.c
@@ -795,7 +795,7 @@ VMMouseDeviceControl(DeviceIntPtr device, int mode)
min(pMse->buttons, MSE_MAXBUTTONS),
#if GET_ABI_MAJOR(ABI_XINPUT_VERSION) == 0
miPointerGetMotionEvents,
-#else
+#elif GET_ABI_MAJOR(ABI_XINPUT_VERSION) < 3
GetMotionHistory,
#endif
pMse->Ctrl,