summaryrefslogtreecommitdiff
path: root/src/void.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/void.c')
-rw-r--r--src/void.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/void.c b/src/void.c
index bf5848c..a5a47be 100644
--- a/src/void.c
+++ b/src/void.c
@@ -209,7 +209,9 @@ xf86VoidControlProc(DeviceIntPtr device, int what)
if (InitValuatorClassDeviceStruct(device,
2,
- xf86GetMotionEvents,
+#if GET_ABI_MAJOR(ABI_XINPUT_VERSION) < 3
+ xf86GetMotionEvents,
+#endif
0,
Absolute) == FALSE) {
InitValuatorAxisStruct(device,