[PATCH xf86-input-vmmouse v2 2/2] InputDriverRec XINPUT cleanup.
Trevor Woerner
twoerner at gmail.com
Tue Oct 19 12:10:45 PDT 2010
From: Trevor Woerner <twoerner at gmail.com>
ABI version 11 of the InputDriverRec data structure no longer
includes the refCount member.
Signed-off-by: Trevor Woerner <twoerner at gmail.com>
---
src/vmmouse.c | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
diff --git a/src/vmmouse.c b/src/vmmouse.c
index 1dfe5be..b716f46 100644
--- a/src/vmmouse.c
+++ b/src/vmmouse.c
@@ -203,8 +203,11 @@ InputDriverRec VMMOUSE = {
NULL,
VMMousePreInit,
VMMouseUnInit,
- NULL,
+ NULL
+#if GET_ABI_MAJOR(ABI_XINPUT_VERSION) < 11
+ ,
0
+#endif
};
static char reverseMap[32] = { 0, 4, 2, 6, 1, 5, 3, 7,
--
1.7.3.1.104.gc752e
More information about the xorg-devel
mailing list