summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Hutterer <peter@cs.unisa.edu.au>2008-05-26 22:08:12 +0930
committerPeter Hutterer <peter@cs.unisa.edu.au>2008-05-26 22:08:12 +0930
commit93efa978bee7785adef9fc8a2b6379ebc21398fb (patch)
treedf799d3658e4ce42a4c08397c01be7074fb1073e
parent374f8de231ec71bed839a03ae050a595875cf82a (diff)
Check for XINPUT ABI 3.
-rw-r--r--src/xf86HyperPen.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/xf86HyperPen.c b/src/xf86HyperPen.c
index f27899a..c80f2e1 100644
--- a/src/xf86HyperPen.c
+++ b/src/xf86HyperPen.c
@@ -1242,7 +1242,9 @@ xf86HypProc(DeviceIntPtr pHyp, int what)
if (InitValuatorClassDeviceStruct(pHyp,
nbaxes,
+#if GET_ABI_MAJOR(ABI_XINPUT_VERSION) < 3
xf86GetMotionEvents,
+#endif
local->history_size,
(priv->flags & ABSOLUTE_FLAG)? Absolute: Relative)
== FALSE) {