diff options
author | Peter Hutterer <peter.hutterer@who-t.net> | 2009-04-15 21:39:30 +1000 |
---|---|---|
committer | Peter Hutterer <peter.hutterer@who-t.net> | 2009-04-16 22:15:13 +1000 |
commit | b3da79aba9cd8c615e953ee08d69f44c23fe3ab5 (patch) | |
tree | b45a6b31304bec4a44b2742bbce67190bff07f49 /include/X11 | |
parent | 01a029e597a25f10d00accafb04d72dad39e82cf (diff) |
Add XIGrabDevice
Diffstat (limited to 'include/X11')
-rw-r--r-- | include/X11/extensions/XInput2.h | 18 |
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); |