diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/acecad.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/acecad.c b/src/acecad.c index 71d2578..f3c284a 100644 --- a/src/acecad.c +++ b/src/acecad.c @@ -657,7 +657,10 @@ DeviceInit (DeviceIntPtr dev) /* 3 axes */ - if (InitValuatorClassDeviceStruct (dev, 3, xf86GetMotionEvents, + if (InitValuatorClassDeviceStruct (dev, 3, +#if GET_ABI_MAJOR(ABI_XINPUT_VERSION) < 3 + xf86GetMotionEvents, +#endif local->history_size, ((priv->flags & ABSOLUTE_FLAG)? Absolute: Relative)|OutOfProximity) == FALSE) |