summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAaron Plattner <aplattner@nvidia.com>2011-04-12 16:12:12 -0700
committerAaron Plattner <aplattner@nvidia.com>2011-05-24 17:40:49 -0700
commit0caed7231667a617d26e9f3a01ce91412ae34539 (patch)
treeecaef3632ce1e282d5e801f4e5efad6794e8b2b2
parentcbe5db71534e82caf920faa708c6c512d2382305 (diff)
xts5: BadDevice takes an int*, not an XID*
startup.c: In function ‘init_xinput’: startup.c:505: error: passing argument 2 of ‘_xibaddevice’ from incompatible pointer type /usr/include/X11/extensions/XInput.h:162: note: expected ‘int *’ but argument is of type ‘XID *’ Signed-off-by: Aaron Plattner <aplattner@nvidia.com> Reviewed-by: Jeremy Huddleston <jeremyhu@apple.com> Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
-rw-r--r--xts5/src/lib/startup.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/xts5/src/lib/startup.c b/xts5/src/lib/startup.c
index 8f3bcb18..9d4d9bc9 100644
--- a/xts5/src/lib/startup.c
+++ b/xts5/src/lib/startup.c
@@ -153,7 +153,7 @@ extern int NXI_event;
int XInputMajorOpcode;
int XInputFirstError;
int XInputFirstEvent;
-XID baddevice;
+int baddevice;
Display *Dsp;
Window Win;