summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPeter Hutterer <peter@cs.unisa.edu.au>2008-05-26 22:24:22 +0930
committerPeter Hutterer <peter@cs.unisa.edu.au>2008-05-26 22:24:22 +0930
commit2ad046c73fd4bf1b880cc19899d161b07608c8c3 (patch)
tree10e007e05d0e60fdb043833858afc4b8e50baccc /src
parentb57f5e54c8a2ee15d83be98a739e16b2595fdf28 (diff)
Check for XINPUT ABI 3.
Diffstat (limited to 'src')
-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,