summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPeter Hutterer <peter@cs.unisa.edu.au>2008-05-26 22:01:29 +0930
committerPeter Hutterer <peter@cs.unisa.edu.au>2008-05-26 22:01:29 +0930
commit056b2a86085fd68f6408c53eb148284e2b506e77 (patch)
treebfd59df51fe75bab70e726443c109dca4bfda95d /src
parenta92bf3b53a277928c94aa87f245ccf301c1e7a2d (diff)
Check for XINPUT ABI 3.
Diffstat (limited to 'src')
-rw-r--r--src/xf86Aiptek.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/xf86Aiptek.c b/src/xf86Aiptek.c
index d57d451..a26ca60 100644
--- a/src/xf86Aiptek.c
+++ b/src/xf86Aiptek.c
@@ -1611,7 +1611,9 @@ xf86AiptekProc(DeviceIntPtr pAiptek, int requestCode)
if (InitValuatorClassDeviceStruct(pAiptek,
numAxes,
+#if GET_ABI_MAJOR(ABI_XINPUT_VERSION) < 3
xf86GetMotionEvents,
+#endif
local->history_size,
((device->flags & ABSOLUTE_FLAG)
? Absolute : Relative) | OutOfProximity ) == FALSE)