summaryrefslogtreecommitdiff
path: root/include/X11/extensions/XInput2.h
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2009-05-25 16:34:01 +1000
committerPeter Hutterer <peter.hutterer@who-t.net>2009-05-28 14:49:03 +1000
commit4d962ed1841f35aa255bbec89e37f396612cfd96 (patch)
tree3d934defd377a7701a6fc0ac7dd03935e7c65f56 /include/X11/extensions/XInput2.h
parent7922430e0d063b0c3617050320d613d9dc7de7ba (diff)
Add support for Enter/FocusIn passive grabs.
Diffstat (limited to 'include/X11/extensions/XInput2.h')
-rw-r--r--include/X11/extensions/XInput2.h41
1 files changed, 41 insertions, 0 deletions
diff --git a/include/X11/extensions/XInput2.h b/include/X11/extensions/XInput2.h
index 8b3741a..7425b44 100644
--- a/include/X11/extensions/XInput2.h
+++ b/include/X11/extensions/XInput2.h
@@ -433,6 +433,30 @@ extern int XIGrabKeysym(
XIGrabModifiers *modifiers_inout
);
+extern int XIGrabEnter(
+ Display* display,
+ int deviceid,
+ Window grab_window,
+ Cursor cursor,
+ int grab_mode,
+ int paired_device_mode,
+ int owner_events,
+ XIEventMask *mask,
+ int num_modifiers,
+ XIGrabModifiers *modifiers_inout
+);
+
+extern int XIGrabFocusIn(
+ Display* display,
+ int deviceid,
+ Window grab_window,
+ int grab_mode,
+ int paired_device_mode,
+ int owner_events,
+ XIEventMask *mask,
+ int num_modifiers,
+ XIGrabModifiers *modifiers_inout
+);
extern Status XIUngrabButton(
Display* display,
int deviceid,
@@ -451,6 +475,23 @@ extern Status XIUngrabKeysym(
XIGrabModifiers *modifiers
);
+extern Status XIUngrabEnter(
+ Display* display,
+ int deviceid,
+ Window grab_window,
+ int num_modifiers,
+ XIGrabModifiers *modifiers
+);
+
+extern Status XIUngrabFocusIn(
+ Display* display,
+ int deviceid,
+ Window grab_window,
+ int num_modifiers,
+ XIGrabModifiers *modifiers
+);
+
+
extern Atom *XIListProperties(
Display* display,
int deviceid,