XIGrabDevice (3) Linux Manual Page
XIGrabDevice, XIUngrabDevice – grab or ungrab the device. Synopsis#include <X11/extensions/XInput2.h>Status XIGrabDevice( Display *display, int deviceid, Window grab_window, Time time, Cursor cursor, int grab_mode, int paired_device_mode, Bool owner_events, XIEventMask *mask);Status XIUngrabDevice( Display *display, int deviceid, Time time);cursor Specifies the cursor image to display for the duration of the grab.display Specifies the connection to the X server.deviceid…
