summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Cloos <cloos@jhcloos.com>2007-09-03 06:06:06 -0400
committerJames Cloos <cloos@jhcloos.com>2007-09-03 06:06:06 -0400
commitfde354a19e19730ce90365732480674fd155cf6e (patch)
treebcf0929613842155e78057f276bf8390b8a9ff38
parent4df595e80daf14a8b88989fb75f0e8c8cbe2f54a (diff)
parentd29387397cc315ca02a54e178d1d410a458ab214 (diff)
Merge branch 'master' of ssh://git.freedesktop.org/git/xorg/driver/xf86-input-void
-rw-r--r--src/void.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/void.c b/src/void.c
index 6903101..6b09b8a 100644
--- a/src/void.c
+++ b/src/void.c
@@ -283,8 +283,10 @@ xf86VoidInit(InputDriverPtr drv,
pInfo->flags = XI86_KEYBOARD_CAPABLE | XI86_POINTER_CAPABLE | XI86_SEND_DRAG_EVENTS;
pInfo->device_control = xf86VoidControlProc;
pInfo->read_input = NULL;
+#if GET_ABI_MAJOR(ABI_XINPUT_VERSION) == 0
pInfo->motion_history_proc = xf86GetMotionEvents;
pInfo->history_size = 0;
+#endif
pInfo->control_proc = NULL;
pInfo->close_proc = NULL;
pInfo->switch_mode = NULL;