From b3da79aba9cd8c615e953ee08d69f44c23fe3ab5 Mon Sep 17 00:00:00 2001 From: Peter Hutterer Date: Wed, 15 Apr 2009 21:39:30 +1000 Subject: Add XIGrabDevice --- include/X11/extensions/XInput2.h | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) (limited to 'include/X11/extensions') 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); -- cgit v1.2.3