summaryrefslogtreecommitdiff
path: root/XInput.h
diff options
context:
space:
mode:
authorPeter Hutterer <peter@cs.unisa.edu.au>2007-05-14 18:03:53 +0930
committerPeter Hutterer <peter@cs.unisa.edu.au>2007-05-14 18:03:53 +0930
commit42a6b9b643d22ca8df64757cf497d2c7ac2dee65 (patch)
tree75317a9528f166cbfbe6bbe8f34fe60d3125a3d1 /XInput.h
parentccbe2e63123c58041a3c32ae6a21b05bd8c72b04 (diff)
Add ExtendedGrabRequest and the matching reply.
Diffstat (limited to 'XInput.h')
-rw-r--r--XInput.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/XInput.h b/XInput.h
index 65d95d5..baeab9b 100644
--- a/XInput.h
+++ b/XInput.h
@@ -54,6 +54,7 @@ SOFTWARE.
#include <X11/Xlib.h>
#include <X11/extensions/XI.h>
+#include <X11/extensions/Xge.h>
#define _deviceKeyPress 0
#define _deviceKeyRelease 1
@@ -1426,6 +1427,24 @@ extern Status XFakeDeviceData(
ValuatorData* /* valuators */
);
+extern Status XExtendedGrabDevice(
+ Display* /* dpy */,
+ XDevice* /* dev */,
+ Window /* grab_win */,
+ int /* device_mode */,
+ Bool /* ownerEvents */,
+ Window /* confineTo */,
+ Cursor /* cursor */,
+ int /* event_count */,
+ XEventClass* /* event_list */,
+ int /* generic_event_count */,
+ XGenericEventMask* /* generic_events */
+);
+
+extern Status XExtendedUngrabDevice(
+ Display* /* dpy */,
+ XDevice* /* dev */);
+
_XFUNCPROTOEND
#endif /* _XINPUT_H_ */