XAllowDeviceEvents (3) Linux Manual Page
XAllowDeviceEvents – release queued events Synopsis #include <X11/extensions/XInput.h> int XAllowDeviceEvents( Display *display, XDevice *device, int event_mode, Time time); display Specifies the connection to the X server. device Specifies the device from which events are to be allowed. event_mode Specifies the event mode.You can pass AsyncThisDevice, SyncThisDevice, ReplayThisDevice, AsyncOtherDevices, SyncAll, or AsyncAll. time Specifies the time….
