summaryrefslogtreecommitdiff
path: root/src/vmmouse.c
diff options
context:
space:
mode:
authorTrevor Woerner <twoerner@gmail.com>2010-10-19 15:10:45 -0400
committerThomas Hellstrom <thellstrom@vmware.com>2010-10-21 11:07:48 +0200
commit3b290e278b3721bef01ecc8ebc04a9a2992f7558 (patch)
treeca9bb154fc1c29a3a4d61136053316a9d4f8f258 /src/vmmouse.c
parent8650db94573e73953ba9718a2cc2644b38adc306 (diff)
InputDriverRec XINPUT cleanup.
ABI version 11 of the InputDriverRec data structure no longer includes the refCount member. Signed-off-by: Trevor Woerner <twoerner@gmail.com> Reviewed-by: Thomas Hellstrom <thellstrom@vmware.com>
Diffstat (limited to 'src/vmmouse.c')
-rw-r--r--src/vmmouse.c5
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,