From b5dc10b2ce19fb99c76b6e79dd364d366e4678f8 Mon Sep 17 00:00:00 2001 From: Alan Coopersmith Date: Tue, 28 Aug 2007 17:41:08 -0700 Subject: Don't fill in motion_history_proc for new input ABI --- src/void.c | 2 ++ 1 file changed, 2 insertions(+) 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; -- cgit v1.2.3 From d29387397cc315ca02a54e178d1d410a458ab214 Mon Sep 17 00:00:00 2001 From: Alan Coopersmith Date: Tue, 28 Aug 2007 17:41:54 -0700 Subject: Add *~ to .gitignore to skip over patch/emacs droppings --- .gitignore | 1 + 1 file changed, 1 insertion(+) diff --git a/.gitignore b/.gitignore index fb1befd..2df4a8d 100644 --- a/.gitignore +++ b/.gitignore @@ -17,3 +17,4 @@ libtool ltmain.sh missing stamp-h1 +*~ -- cgit v1.2.3