diff options
-rw-r--r-- | include/X11/extensions/XInput2.h | 2 | ||||
-rw-r--r-- | src/XGetCPtr.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/include/X11/extensions/XInput2.h b/include/X11/extensions/XInput2.h index 69cf6a8..ff15f32 100644 --- a/include/X11/extensions/XInput2.h +++ b/include/X11/extensions/XInput2.h @@ -124,7 +124,7 @@ extern Status XISetClientPointer( extern Bool XIGetClientPointer( Display* /* dpy */, Window /* win */, - XID* /* deviceid */ + int* /* deviceid */ ); typedef CARD16 XIEventType; diff --git a/src/XGetCPtr.c b/src/XGetCPtr.c index 7d96284..e6a0050 100644 --- a/src/XGetCPtr.c +++ b/src/XGetCPtr.c @@ -39,7 +39,7 @@ in this Software without prior written authorization from The Open Group. #include "XIint.h" Bool -XIGetClientPointer(Display* dpy, Window win, XID* deviceid) +XIGetClientPointer(Display* dpy, Window win, int *deviceid) { xXIGetClientPointerReq *req; xXIGetClientPointerReply rep; |