summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeff Smith <whydoubt@yahoo.com>2008-06-15 02:16:59 -0500
committerPeter Hutterer <peter@cs.unisa.edu.au>2008-06-16 13:23:36 +0930
commitb8c89a92aaf4c209553d8818443a9375eaa43a08 (patch)
tree68db894c362c6f3c47d48c3f858ec17369e48d85
parente999b46eb593b5a462ec7b462cdf5a9511ef15c6 (diff)
Check for XINPUT ABI 3.
Signed-off-by: Peter Hutterer <peter@cs.unisa.edu.au>
-rw-r--r--src/xf86Summa.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/xf86Summa.c b/src/xf86Summa.c
index 384e689..ad8f262 100644
--- a/src/xf86Summa.c
+++ b/src/xf86Summa.c
@@ -1168,7 +1168,9 @@ xf86SumProc(DeviceIntPtr pSum, int what)
if (InitValuatorClassDeviceStruct(pSum,
nbaxes,
+#if GET_ABI_MAJOR(ABI_XINPUT_VERSION) < 3
xf86GetMotionEvents,
+#endif
local->history_size,
(priv->flags & ABSOLUTE_FLAG)? Absolute: Relative)
== FALSE) {