Lines Matching defs:grabinfo
1615 GrabInfoPtr grabinfo = &mouse->deviceGrab;
1616 GrabPtr oldgrab = grabinfo->grab;
1617 WindowPtr oldWin = (grabinfo->grab) ?
1618 grabinfo->grab->window : mouse->spriteInfo->sprite->win;
1633 if (! (grabinfo->grab && oldWin == grabinfo->grab->window
1638 grabinfo->grabTime = syncEvents.time;
1640 grabinfo->grabTime = time;
1641 grabinfo->grab = AllocGrab(grab);
1642 grabinfo->fromPassiveGrab = isPassive;
1643 grabinfo->implicitGrab = autoGrab & ImplicitGrabMask;
1735 GrabInfoPtr grabinfo = &keybd->deviceGrab;
1736 GrabPtr oldgrab = grabinfo->grab;
1750 else if (grabinfo->grab)
1751 oldWin = grabinfo->grab->window;
1761 ! (grabinfo->grab && oldWin == grabinfo->grab->window
1765 grabinfo->grabTime = syncEvents.time;
1767 grabinfo->grabTime = time;
1768 grabinfo->grab = AllocGrab(grab);
1769 grabinfo->fromPassiveGrab = passive;
1770 grabinfo->implicitGrab = passive & ImplicitGrabMask;
1830 GrabInfoPtr devgrabinfo, grabinfo = &thisDev->deviceGrab;
1832 thisGrabbed = grabinfo->grab && SameClient(grabinfo->grab, client);
1836 grabTime = grabinfo->grabTime;
1847 if (grabinfo->sync.other == devgrabinfo->grab)
1853 if (!((thisGrabbed && grabinfo->sync.state >= FROZEN) || thisSynced))
1861 grabinfo->sync.state = THAWED;
1863 grabinfo->sync.other = NullGrab;
1868 grabinfo->sync.state = FREEZE_NEXT_EVENT;
1870 grabinfo->sync.other = NullGrab;
1901 if (thisGrabbed && grabinfo->sync.state == FROZEN_WITH_EVENT) {
1903 grabinfo->sync.other = NullGrab;
1905 syncEvents.replayWin = grabinfo->grab->window;
1906 (*grabinfo->DeactivateGrab) (thisDev);
1933 IsTouchEvent(grabinfo->sync.event)) {
1934 TouchAcceptAndEnd(thisDev, grabinfo->sync.event->device_event.touchid);
3913 GrabInfoPtr grabinfo = &dev->deviceGrab;
3914 (*grabinfo->ActivateGrab) (dev, grab,
3917 if (grabinfo->sync.state == FROZEN_NO_EVENT)
3918 grabinfo->sync.state = FROZEN_WITH_EVENT;
3919 CopyPartialInternalEvent(grabinfo->sync.event, real_event);
4350 GrabInfoPtr grabinfo = &dev->deviceGrab;
4351 GrabPtr grab = grabinfo->grab;
4369 if (grabinfo->fromPassiveGrab && grabinfo->implicitGrab)
4423 GrabInfoPtr grabinfo;
4428 grabinfo = &thisDev->deviceGrab;
4429 grab = grabinfo->grab;
4481 GrabInfoPtr grabinfo = &thisDev->deviceGrab;
4482 GrabPtr grab = grabinfo->grab;
4485 switch (grabinfo->sync.state) {
4499 grabinfo->sync.state = FROZEN_WITH_EVENT;
4501 CopyPartialInternalEvent(grabinfo->sync.event, event);