Lines Matching refs:master
293 InternalEvent* original, InternalEvent *master)
296 CHECKEVENT(master);
306 master->device_event.detail.button = sdev->button->map[btn];
311 * Copy the given event into master.
315 * @return The master device or NULL if the device is a floating slave.
328 if (!sdev || !sdev->u.master)
350 mdev = sdev->u.master;
374 DeviceIntPtr master;
375 InternalEvent mevent; /* master event */
400 master = CopyGetMasterEvent(dev, event, &mevent);
402 if (master)
403 master->u.lastSlave = dev;
411 /* Check for the SD's master in case the device got detached
413 if (master && dev->u.master)
414 handler(screenNum, &mevent, master);
417 /* process slave first, then master */
420 /* Check for the SD's master in case the device got detached
422 if (master && dev->u.master)
423 master->public.processInputProc(&mevent, master);
437 master = NULL;
469 master = (dev && !IsMaster(dev) && dev->u.master) ? dev->u.master : NULL;
484 if (event->any.type == ET_Motion && master)