diff options
author | Alan Coopersmith <alan.coopersmith@sun.com> | 2007-08-28 17:41:08 -0700 |
---|---|---|
committer | Alan Coopersmith <alan.coopersmith@sun.com> | 2007-08-28 17:41:08 -0700 |
commit | b5dc10b2ce19fb99c76b6e79dd364d366e4678f8 (patch) | |
tree | c163fe27396434abce28b64698c844feac7a24d3 | |
parent | 464a489e9a9e4a79946c5ddac44e9b9c7a6dc8cc (diff) |
Don't fill in motion_history_proc for new input ABI
-rw-r--r-- | src/void.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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; |