summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@sun.com>2007-08-28 17:41:08 -0700
committerAlan Coopersmith <alan.coopersmith@sun.com>2007-08-28 17:41:08 -0700
commitb5dc10b2ce19fb99c76b6e79dd364d366e4678f8 (patch)
treec163fe27396434abce28b64698c844feac7a24d3
parent464a489e9a9e4a79946c5ddac44e9b9c7a6dc8cc (diff)
Don't fill in motion_history_proc for new input ABI
-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;