diff options
author | Peter Hutterer <peter.hutterer@who-t.net> | 2009-03-03 14:53:23 +1000 |
---|---|---|
committer | Peter Hutterer <peter.hutterer@who-t.net> | 2009-03-11 14:26:07 +1000 |
commit | 2d5bdbe0fad5f22f153aa74e38aa3a1ca09d4192 (patch) | |
tree | 417b0b98fb52bf79634f7d8695f29f49f9312ae0 | |
parent | 6be974ec5597ef37fbd3a6057d52a38356f544e0 (diff) |
Change XIGetClientPtr to take an int, not an XID
-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; |