summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Hutterer <peter@cs.unisa.edu.au>2008-02-25 16:28:05 +1030
committerPeter Hutterer <peter@cs.unisa.edu.au>2008-02-25 16:29:38 +1030
commit1f37b09c99df0890fbf347f3767934cdd4e586c2 (patch)
treece187fc55a73495202573dda360834421ee6acdd
parent1f6d53f553e580757d4c7391838a44b659812ab0 (diff)
Remove "ungrab" from ExtendedGrabDevice request, remove XUngrabExtDevice().
That's what UngrabDevice is for, it does the same anyway.
-rw-r--r--XInput.h4
-rw-r--r--XIproto.h4
2 files changed, 2 insertions, 6 deletions
diff --git a/XInput.h b/XInput.h
index d48bc31..d6b8ad0 100644
--- a/XInput.h
+++ b/XInput.h
@@ -1448,10 +1448,6 @@ extern Status XExtendedGrabDevice(
XGenericEventMask* /* generic_events */
);
-extern Status XExtendedUngrabDevice(
- Display* /* dpy */,
- XDevice* /* dev */);
-
_XFUNCPROTOEND
#endif /* _XINPUT_H_ */
diff --git a/XIproto.h b/XIproto.h
index 24bbc09..33566de 100644
--- a/XIproto.h
+++ b/XIproto.h
@@ -1723,10 +1723,10 @@ typedef struct {
CARD16 length B16;
CARD32 grab_window B32;
Time time B32;
- CARD8 ungrab; /* True if request is Ungrab request */
+ CARD8 deviceid;
CARD8 device_mode; /* GrabModeSync or GrabModeAsync */
BOOL owner_events;
- CARD8 deviceid;
+ CARD8 pad0;
Window confine_to B32;
Cursor cursor B32;
CARD16 event_count B16;