summaryrefslogtreecommitdiff
path: root/src/xf86Tek4957.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/xf86Tek4957.c')
-rw-r--r--src/xf86Tek4957.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/xf86Tek4957.c b/src/xf86Tek4957.c
index 5877269..de9ee83 100644
--- a/src/xf86Tek4957.c
+++ b/src/xf86Tek4957.c
@@ -446,7 +446,10 @@ TekProc(DeviceIntPtr pDev, int what)
return !Success;
}
- if (InitValuatorClassDeviceStruct(pDev,2,xf86GetMotionEvents,
+ if (InitValuatorClassDeviceStruct(pDev,2,
+#if GET_ABI_MAJOR(ABI_XINPUT_VERSION) < 3
+ xf86GetMotionEvents,
+#endif
local->history_size,Absolute)== FALSE) {
xf86Msg(X_ERROR,"Tek4957:Unable to allocate Valuator class device\n");
return !Success;