diff options
author | Peter Hutterer <peter.hutterer@who-t.net> | 2009-05-04 19:05:06 +1000 |
---|---|---|
committer | Peter Hutterer <peter.hutterer@who-t.net> | 2009-05-07 10:22:43 +1000 |
commit | 70d9a55c86f15b71ff8b53a61b8fb0e1723e0824 (patch) | |
tree | f45bf679fd0174c2618ba04f7c6f720821514ccd /include | |
parent | 6e4b80a35e5b763d4a854f1c10443b95e6ad51bd (diff) |
Add XIPassiveGrabDevice.
Diffstat (limited to 'include')
-rw-r--r-- | include/X11/extensions/XInput2.h | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/include/X11/extensions/XInput2.h b/include/X11/extensions/XInput2.h index b9207f0..77dd57b 100644 --- a/include/X11/extensions/XInput2.h +++ b/include/X11/extensions/XInput2.h @@ -378,6 +378,52 @@ extern Status XIAllowEvents( Time time ); +extern int XIGrabButton( + Display* display, + int deviceid, + int button, + Window grab_window, + Cursor cursor, + int grab_mode, + int paired_device_mode, + int owner_events, + XIDeviceEventMask *mask, + int num_modifiers, + int *modifiers_inout +); + +extern int XIGrabKeysym( + Display* display, + int deviceid, + int keysym, + Window grab_window, + int grab_mode, + int paired_device_mode, + int owner_events, + XIDeviceEventMask *mask, + int num_modifiers, + int *modifiers_inout +); + +extern Status XIUngrabButton( + Display* display, + int deviceid, + int button, + Window grab_window, + int num_modifiers, + int *modifiers +); + +extern Status XIUngrabKeysym( + Display* display, + int deviceid, + int keysym, + Window grab_window, + int num_modifiers, + int *modifiers +); + + extern void XIFreeDeviceInfo(XIDeviceInfo *info); extern void XIFreeEventData(XIEvent *ev); |