diff options
author | Aaron Plattner <aplattner@nvidia.com> | 2011-04-12 16:12:12 -0700 |
---|---|---|
committer | Aaron Plattner <aplattner@nvidia.com> | 2011-05-24 17:40:49 -0700 |
commit | 0caed7231667a617d26e9f3a01ce91412ae34539 (patch) | |
tree | ecaef3632ce1e282d5e801f4e5efad6794e8b2b2 | |
parent | cbe5db71534e82caf920faa708c6c512d2382305 (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.c | 2 |
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; |