{
struct xi_device_t *device = &dpyinfo->devices[i];
- if (device->device_id == device_id && device->master_p)
+ if (device->device_id == device_id)
{
for (int j = 0; j < device->scroll_valuator_count; ++j)
{
struct xi_device_t *device = xi_device_from_id (dpyinfo, id);
struct xi_scroll_valuator_t *valuator;
- if (!device || !device->master_p)
+ if (!device)
return;
if (!device->scroll_valuator_count)
device = xi_device_from_id (dpyinfo, xev->deviceid);
- if (!device || !device->master_p)
+ if (!device)
goto XI_OTHER;
bv.button = xev->detail;
device = xi_device_from_id (dpyinfo, xev->deviceid);
- if (!device || !device->master_p)
+ if (!device)
goto XI_OTHER;
#if defined (USE_X_TOOLKIT) || defined (USE_GTK)
XIGesturePinchEvent *pev = (XIGesturePinchEvent *) xi_event;
struct xi_device_t *device = xi_device_from_id (dpyinfo, pev->deviceid);
- if (!device || !device->master_p)
+ if (!device)
goto XI_OTHER;
#ifdef HAVE_XWIDGETS