summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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,