From 0caed7231667a617d26e9f3a01ce91412ae34539 Mon Sep 17 00:00:00 2001 From: Aaron Plattner Date: Tue, 12 Apr 2011 16:12:12 -0700 Subject: xts5: BadDevice takes an int*, not an XID* MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 Reviewed-by: Jeremy Huddleston Reviewed-by: Peter Hutterer --- xts5/src/lib/startup.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- cgit v1.2.3