summaryrefslogtreecommitdiff
path: root/src/xf86MuTouch.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/xf86MuTouch.c')
-rw-r--r--src/xf86MuTouch.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/xf86MuTouch.c b/src/xf86MuTouch.c
index 0795e35..8f7b54e 100644
--- a/src/xf86MuTouch.c
+++ b/src/xf86MuTouch.c
@@ -1174,7 +1174,10 @@ xf86MuTControl(DeviceIntPtr dev,
* max and min values scaled from the approximate size of the
* screen to fit one meter.
*/
- if (InitValuatorClassDeviceStruct(dev, 2, xf86GetMotionEvents,
+ if (InitValuatorClassDeviceStruct(dev, 2,
+#if GET_ABI_MAJOR(ABI_XINPUT_VERSION) < 3
+ xf86GetMotionEvents,
+#endif
local->history_size, Absolute) == FALSE) {
ErrorF("Unable to allocate ValuatorClassDeviceStruct\n");
return !Success;