summaryrefslogtreecommitdiff
path: root/include/X11/extensions/XInput2.h
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2009-04-15 21:39:30 +1000
committerPeter Hutterer <peter.hutterer@who-t.net>2009-04-16 22:15:13 +1000
commitb3da79aba9cd8c615e953ee08d69f44c23fe3ab5 (patch)
treeb45a6b31304bec4a44b2742bbce67190bff07f49 /include/X11/extensions/XInput2.h
parent01a029e597a25f10d00accafb04d72dad39e82cf (diff)
Add XIGrabDevice
Diffstat (limited to 'include/X11/extensions/XInput2.h')
-rw-r--r--include/X11/extensions/XInput2.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/include/X11/extensions/XInput2.h b/include/X11/extensions/XInput2.h
index f7ffba3..0d6fbf2 100644
--- a/include/X11/extensions/XInput2.h
+++ b/include/X11/extensions/XInput2.h
@@ -352,6 +352,24 @@ extern Status XIGetDeviceFocus(
int deviceid,
Window *focus_return);
+extern Status XIGrabDevice(
+ Display* dpy,
+ int deviceid,
+ Window grab_window,
+ Time time,
+ Cursor cursor,
+ int grab_mode,
+ int paired_device_mode,
+ Bool owner_events,
+ XIDeviceEventMask *mask
+);
+
+extern Status XIUngrabDevice(
+ Display* dpy,
+ int deviceid,
+ Time time
+);
+
extern void XIFreeDeviceInfo(XIDeviceInfo *info);
extern void XIFreeEventData(XIEvent *ev);