| /OK3568_Linux_fs/external/xserver/dix/ |
| H A D | events.c | 792 pDev->deviceGrab.grab ? pDev->deviceGrab.grab-> in CheckVirtualMotion() 965 GrabPtr grab = pDev->deviceGrab.grab; in PostNewCursor() 1227 if (!qe->device->deviceGrab.sync.frozen) { in PlayReleasedEvents() 1265 for (dev = inputInfo.devices; dev && dev->deviceGrab.sync.frozen; in PlayReleasedEvents() 1288 dev->deviceGrab.sync.frozen = frozen; in FreezeThaw() 1312 FreezeThaw(dev, dev->deviceGrab.sync.other || in ComputeFreezes() 1313 (dev->deviceGrab.sync.state >= FROZEN)); in ComputeFreezes() 1319 DeviceEvent *event = replayDev->deviceGrab.sync.event; in ComputeFreezes() 1342 if (!dev->deviceGrab.sync.frozen) { in ComputeFreezes() 1352 if ((grab = dev->deviceGrab.grab) && grab->confineTo) { in ComputeFreezes() [all …]
|
| H A D | touch.c | 347 if ((grab = dev->deviceGrab.grab)) { in TouchEndTouch() 348 if (dev->deviceGrab.fromPassiveGrab && in TouchEndTouch() 351 (*dev->deviceGrab.DeactivateGrab) (dev); in TouchEndTouch() 881 if (dev->deviceGrab.grab && !dev->deviceGrab.fromPassiveGrab) in TouchSetupListeners() 882 TouchAddActiveGrabListener(dev, ti, ev, dev->deviceGrab.grab); in TouchSetupListeners() 922 grab = dev->deviceGrab.grab; in TouchRemovePointerGrab() 926 ev = dev->deviceGrab.sync.event; in TouchRemovePointerGrab() 1085 if (dev->deviceGrab.sync.frozen) in TouchEmitTouchEnd()
|
| H A D | grabs.c | 79 GrabInfoPtr devGrab = &dev->deviceGrab; in PrintDeviceGrabInfo() 178 if (!dev->deviceGrab.grab) in UngrabAllDevices() 181 client = clients[CLIENT_ID(dev->deviceGrab.grab->resource)]; in UngrabAllDevices() 183 dev->deviceGrab.DeactivateGrab(dev); in UngrabAllDevices()
|
| H A D | devices.c | 285 dev->deviceGrab.grabTime = currentTime; in AddInputDevice() 286 dev->deviceGrab.ActivateGrab = ActivateKeyboardGrab; in AddInputDevice() 287 dev->deviceGrab.DeactivateGrab = DeactivateKeyboardGrab; in AddInputDevice() 288 dev->deviceGrab.sync.event = calloc(1, sizeof(DeviceEvent)); in AddInputDevice() 1007 if (dev->deviceGrab.grab) in CloseDevice() 1008 FreeGrab(dev->deviceGrab.grab); in CloseDevice() 1009 free(dev->deviceGrab.sync.event); in CloseDevice() 2364 GrabPtr grab = dev->deviceGrab.grab; in MaybeStopHint() 2744 pointer->deviceGrab.ActivateGrab = ActivatePointerGrab; in AllocDevicePair() 2745 pointer->deviceGrab.DeactivateGrab = DeactivatePointerGrab; in AllocDevicePair() [all …]
|
| H A D | enterleave.c | 96 if (dev->deviceGrab.grab) in HasPointer()
|
| /OK3568_Linux_fs/external/xserver/Xi/ |
| H A D | ungrdev.c | 100 grab = dev->deviceGrab.grab; in ProcXUngrabDevice() 104 (CompareTimeStamps(time, dev->deviceGrab.grabTime) != EARLIER) && in ProcXUngrabDevice() 106 (*dev->deviceGrab.DeactivateGrab) (dev); in ProcXUngrabDevice()
|
| H A D | closedev.c | 149 if (d->deviceGrab.grab && SameClient(d->deviceGrab.grab, client)) in ProcXCloseDevice() 150 (*d->deviceGrab.DeactivateGrab) (d); /* release active grab */ in ProcXCloseDevice()
|
| H A D | exevents.c | 1384 grab = dev->deviceGrab.grab; in DeliverTouchEmulatedEvent() 1411 if (ev->any.type == ET_TouchBegin && !dev->deviceGrab.grab) in DeliverTouchEmulatedEvent() 1418 if (!dev->deviceGrab.grab) in DeliverTouchEmulatedEvent() 1440 dev->deviceGrab.fromPassiveGrab && GrabIsPointerGrab(grab)) { in DeliverTouchEmulatedEvent() 1441 (*dev->deviceGrab.DeactivateGrab) (dev); in DeliverTouchEmulatedEvent() 1448 GrabPtr devgrab = dev->deviceGrab.grab; in DeliverTouchEmulatedEvent() 1456 if (!devgrab && dev->deviceGrab.grab && dev->deviceGrab.implicitGrab) { in DeliverTouchEmulatedEvent() 1460 devgrab = dev->deviceGrab.grab; in DeliverTouchEmulatedEvent() 1464 *dev->deviceGrab.sync.event = ev->device_event; in DeliverTouchEmulatedEvent() 1561 if (emulate_pointer && dev->deviceGrab.grab && !dev->deviceGrab.fromPassiveGrab && in ProcessTouchEvent() [all …]
|
| H A D | xigrabdev.c | 163 grab = dev->deviceGrab.grab; in ProcXIUngrabDevice() 167 (CompareTimeStamps(time, dev->deviceGrab.grabTime) != EARLIER) && in ProcXIUngrabDevice() 169 (*dev->deviceGrab.DeactivateGrab) (dev); in ProcXIUngrabDevice()
|
| H A D | setmode.c | 111 if ((dev->deviceGrab.grab) && !SameClient(dev->deviceGrab.grab, client)) in ProcXSetDeviceMode()
|
| H A D | setdval.c | 119 if ((dev->deviceGrab.grab) && !SameClient(dev->deviceGrab.grab, client)) in ProcXSetDeviceValuators()
|
| H A D | chgdctl.c | 152 if ((dev->deviceGrab.grab) && !SameClient(dev->deviceGrab.grab, client)) { in ProcXChangeDeviceControl()
|
| /OK3568_Linux_fs/external/xserver/hw/xfree86/xkb/ |
| H A D | xkbPrivate.c | 38 if (tmp->deviceGrab.grab) in XkbDDXPrivate()
|
| /OK3568_Linux_fs/external/xserver/include/ |
| H A D | inputstr.h | 545 GrabInfoRec deviceGrab; /* grab on the device */ member
|
| /OK3568_Linux_fs/external/xserver/hw/xfree86/common/ |
| H A D | xf86DGA.c | 1059 if (keybd->deviceGrab.grab && !keybd->deviceGrab.fromPassiveGrab) { in DGAProcessKeyboardEvent() 1114 if (mouse->deviceGrab.grab && !mouse->deviceGrab.fromPassiveGrab) { in DGAProcessPointerEvent()
|
| /OK3568_Linux_fs/external/xserver/xkb/ |
| H A D | xkbEvents.c | 920 if (dev->deviceGrab.grab != NullGrab && dev->deviceGrab.fromPassiveGrab in XkbFilterEvents()
|
| /OK3568_Linux_fs/external/xserver/hw/xwayland/ |
| H A D | xwayland-input.c | 1134 device->deviceGrab.ActivateGrab = xwl_keyboard_activate_grab; in setup_keyboard_grab_handler() 1135 device->deviceGrab.DeactivateGrab = xwl_keyboard_deactivate_grab; in setup_keyboard_grab_handler() 2677 GrabPtr pointer_grab = xwl_seat->pointer->deviceGrab.grab; in xwl_pointer_warp_emulator_maybe_lock()
|
| /OK3568_Linux_fs/external/xserver/test/ |
| H A D | input.c | 1897 dev.deviceGrab.sync.frozen = 1; in dix_enqueue_events() 1901 dev.deviceGrab.sync.frozen = 0; in dix_enqueue_events()
|
| /OK3568_Linux_fs/external/xserver/ |
| H A D | ChangeLog | 3135 deviceGrab's state, causing a recursion during TouchEndTouch. 56248 if (dev->deviceGrab.grab && 56249 dev->deviceGrab.fromPassiveGrab && 56250 dev->deviceGrab.grab->pointerMode == GrabModeAsync) 56256 DeliverTouchEmulatedEvent succeeds. The deviceGrab meets all 81847 dix: switch the dev->deviceGrab.activeGrab from GrabRec to GrabPtr 113604 client, which should be checked by accessing (dev->deviceGrab->grab->resource). 128475 "dev->deviceGrab.grab" in ProcessOtherEvents until after CheckMotion(). 132958 deviceGrab.sync.event is now an internal event, and CheckDeviceGrabs and 132973 devices' event queue (dev->deviceGrab.sync.event) is still an XI event. The [all …]
|