HomeSort by: relevance | last modified time | path
    Searched refs:grab (Results 1 - 25 of 59) sorted by relevancy

1 2 3

  /xsrc/external/mit/xorg-server/dist/Xi/
ungrdev.c 49 * Request to release a grab of an extension device.
82 * Release a grab of an extension device.
90 GrabPtr grab; local
100 grab = dev->deviceGrab.grab;
105 (grab) && SameClient(grab, client) && grab->grabtype == XI)
closedev.c 94 GrabPtr grab, next; local
101 for (grab = wPassiveGrabs(pWin); grab; grab = next) {
102 next = grab->next;
103 if ((grab->device == dev) &&
104 (client->clientAsMask == CLIENT_BITS(grab->resource)))
105 FreeResource(grab->resource, RT_NONE);
149 if (d->deviceGrab.grab && SameClient(d->deviceGrab.grab, client)
    [all...]
xigrabdev.c 28 * Request to grab or ungrab input device.
155 GrabPtr grab; local
166 grab = dev->deviceGrab.grab;
171 (grab) && SameClient(grab, client) && grab->grabtype == XI2)
setmode.c 111 if ((dev->deviceGrab.grab) && !SameClient(dev->deviceGrab.grab, client))
exevents.c 695 * may have an active touch grab, so we need to keep the touch class record
714 * may have an active gesture grab, so we need to keep the gesture class record
1032 * TouchBegin event if there is at least one grab active.
1072 GrabPtr grab, WindowPtr win, InternalEvent *ev)
1083 if (!grab && ti->num_grabs != 0 &&
1110 GrabPtr grab = ti->listeners[0].grab; local
1114 BUG_RETURN(!grab);
1116 client = rClient(grab);
1120 ErrorF("[Xi] Failed to accept touch grab after early acceptance.\n")
1567 GrabPtr grab; local
1716 GrabPtr grab = dev->deviceGrab.grab; local
1823 GrabPtr grab; local
2206 GrabPtr grab = NULL; local
2313 GrabPtr grab = NULL; local
2489 GrabPtr grab; local
2546 GrabPtr grab; local
2592 GrabPtr grab; local
2638 GrabPtr grab; local
3207 GrabPtr grab = dev->deviceGrab.grab; local
    [all...]
setdval.c 119 if ((dev->deviceGrab.grab) && !SameClient(dev->deviceGrab.grab, client))
  /xsrc/external/mit/xorg-server.old/dist/Xi/
ungrdev.c 49 * Request to release a grab of an extension device.
84 * Release a grab of an extension device.
92 GrabPtr grab; local
102 grab = dev->deviceGrab.grab;
107 (grab) && SameClient(grab, client) && grab->grabtype == GRABTYPE_XI)
closedev.c 96 GrabPtr grab, next; local
103 for (grab = wPassiveGrabs(pWin); grab; grab = next) {
104 next = grab->next;
105 if ((grab->device == dev) &&
106 (client->clientAsMask == CLIENT_BITS(grab->resource)))
107 FreeResource(grab->resource, RT_NONE);
151 if (d->deviceGrab.grab && SameClient(d->deviceGrab.grab, client)
    [all...]
xigrabdev.c 28 * Request to grab or ungrab input device.
138 GrabPtr grab; local
150 grab = dev->deviceGrab.grab;
155 (grab) && SameClient(grab, client) && grab->grabtype == GRABTYPE_XI2)
setmode.c 107 if ((dev->deviceGrab.grab) && !SameClient(dev->deviceGrab.grab, client))
setdval.c 116 if ((dev->deviceGrab.grab) && !SameClient(dev->deviceGrab.grab, client))
exevents.c 904 GrabPtr grab = device->deviceGrab.grab; local
906 if (grab)
935 GrabPtr grab; local
1044 grab = device->deviceGrab.grab;
1049 if (!grab && CheckDeviceGrabs(device, event, 0)) {
1055 if (grab && device->deviceGrab.fromPassiveGrab &&
1057 (device->deviceGrab.grab->type == KeyPress ||
1058 device->deviceGrab.grab->type == DeviceKeyPress |
1425 GrabPtr grab; local
1481 GrabPtr grab; local
1526 GrabPtr grab; local
2033 GrabPtr grab = dev->deviceGrab.grab; local
    [all...]
  /xsrc/external/mit/xorg-server/dist/dix/
grabs.c 80 GrabPtr grab = devGrab->grab; local
83 ErrorF("Active grab 0x%lx (%s) on device '%s' (%d):\n",
84 (unsigned long) grab->resource,
85 (grab->grabtype == XI2) ? "xi2" :
86 ((grab->grabtype == CORE) ? "core" : "xi1"), dev->name, dev->id);
88 client = clients[CLIENT_ID(grab->resource)];
110 CLIENT_ID(grab->resource));
115 ErrorF(" grab ID 0x%lx from paired device\n",
118 ErrorF(" at %ld (from %s grab)%s (device %s, state %d)\n"
194 GrabPtr grab = calloc(1, sizeof(GrabRec)); local
219 GrabPtr grab; local
531 GrabPtr grab; local
578 GrabPtr grab; local
    [all...]
gestures.c 111 if (gi->listener.grab) {
112 FreeGrab(gi->listener.grab);
113 gi->listener.grab = NULL;
146 * @returns TRUE if the specified grab or selection is the current owner of
157 enum GestureListenerType type, WindowPtr window, const GrabPtr grab)
163 /* We need a copy of the grab, not the grab itself since that may be deleted by
165 if (grab)
166 g = AllocGrab(grab);
172 gi->listener.grab = g
210 GrabPtr grab = CheckPassiveGrabsOnWindow(win, dev, ev, check_core, local
    [all...]
events.c 194 * Used to indicate a implicit passive grab created by a ButtonPress event.
806 pDev->deviceGrab.grab ? pDev->deviceGrab.grab->
979 GrabPtr grab = pDev->deviceGrab.grab; local
985 if (grab) {
986 if (grab->cursor) {
987 ChangeToCursor(pDev, grab->cursor);
990 if (IsParent(grab->window, pSprite->win))
993 win = grab->window
1321 GrabPtr grab; local
1397 GrabPtr grab; local
1424 GrabPtr grab = thisDev->deviceGrab.grab; local
1526 GrabPtr grab = mouse->deviceGrab.grab; local
1569 GrabPtr grab = mouse->deviceGrab.grab; local
1661 GrabPtr grab = mouse->deviceGrab.grab; local
1783 GrabPtr grab = keybd->deviceGrab.grab; local
2479 GrabPtr grab = device->deviceGrab.grab; local
3289 GrabPtr grab; local
3894 GetEventFilter(device, xE), grab); local
4113 GrabPtr grab = wPassiveGrabs(pWin); local
4351 GrabPtr grab = grabinfo->grab; local
4422 GrabPtr grab; local
4482 GrabPtr grab = grabinfo->grab; local
4740 GrabPtr grab = mouse->deviceGrab.grab; local
4780 GetEventFilter(mouse, &event), grab); local
4801 mask, KeymapStateMask, grab); local
4814 GrabPtr grab = mouse->deviceGrab.grab; local
4873 grab); local
5082 GrabPtr grab; local
5140 GrabPtr grab; local
5193 GrabPtr grab; local
5235 GrabPtr grab; local
5382 GrabPtr grab; local
5710 GrabPtr grab; local
5762 GrabPtr grab; local
5913 GrabPtr grab; local
6012 GrabPtr grab; local
6261 GrabPtr grab = it->deviceGrab.grab; local
    [all...]
touch.c 347 GrabPtr grab; local
349 if ((grab = dev->deviceGrab.grab)) {
352 !dev->touch->buttonsDown && GrabIsPointerGrab(grab))
463 If the TouchBegin however triggers a sync passive grab, the
523 /* Mark which grabs/event selections we're delivering to: max one grab per
524 * window plus the bottom-most event selection, plus any active grab. */
621 * @returns TRUE if the specified grab or selection is the current owner of
637 const GrabPtr grab)
641 /* We need a copy of the grab, not the grab itself since that may b
725 GrabPtr grab; local
885 GrabPtr grab; local
    [all...]
  /xsrc/external/mit/xorg-server.old/dist/dix/
grabs.c 85 GrabPtr grab; local
87 grab = calloc(1, sizeof(GrabRec));
88 if (!grab)
90 grab->resource = FakeClientID(client);
91 grab->device = device;
92 grab->window = window;
93 grab->eventMask = mask->core; /* same for XI */
94 grab->deviceMask = 0;
95 grab->ownerEvents = param->ownerEvents;
96 grab->keyboardMode = param->this_device_mode
364 GrabPtr grab; local
416 GrabPtr grab; local
    [all...]
events.c 188 * Used to indicate a implicit passive grab created by a ButtonPress event.
789 pWin = pDev->deviceGrab.grab ? pDev->deviceGrab.grab->confineTo : NullWindow;
961 GrabPtr grab = pDev->deviceGrab.grab; local
967 if (grab)
969 if (grab->cursor)
971 ChangeToCursor(pDev, grab->cursor);
974 if (IsParent(grab->window, pSprite->win))
977 win = grab->window
1268 GrabPtr grab; local
1330 GrabPtr grab; local
1358 GrabPtr grab = thisDev->deviceGrab.grab; local
1487 GrabPtr grab = mouse->deviceGrab.grab; local
1561 GrabPtr grab = keybd->deviceGrab.grab; local
2816 GrabPtr grab; local
3361 GrabPtr grab = wPassiveGrabs(pWin); local
3530 GetEventFilter(device, xE), grab); local
3735 GrabPtr grab; local
4165 GrabPtr grab = mouse->deviceGrab.grab; local
4211 GetEventFilter(mouse, &event), grab); local
4230 mask, KeymapStateMask, grab); local
4247 GrabPtr grab = mouse->deviceGrab.grab; local
4303 filter, grab); local
4515 GrabPtr grab; local
4584 GrabPtr grab; local
4639 GrabPtr grab; local
4680 GrabPtr grab; local
4826 GrabPtr grab; local
5161 GrabPtr grab; local
5214 GrabPtr grab; local
5365 GrabPtr grab; local
5475 GrabPtr grab; local
5740 GrabPtr grab = it->deviceGrab.grab; local
    [all...]
  /xsrc/external/mit/xorg-server/dist/include/
dixgrabs.h 35 extern void FreeGrab(GrabPtr grab);
62 extern Bool GrabIsPointerGrab(GrabPtr grab);
63 extern Bool GrabIsKeyboardGrab(GrabPtr grab);
64 extern Bool GrabIsGestureGrab(GrabPtr grab);
  /xsrc/external/mit/libXt/dist/src/
PassivGrab.c 141 * Allocate a new grab entry, and fill in all of the fields using the
157 XtServerGrabPtr grab; local
161 grab = (XtServerGrabPtr) __XtMalloc(sizeof(XtServerGrabRec) +
164 grab->next = NULL;
165 grab->widget = widget;
166 XtSetBit(grab->ownerEvents, ownerEvents);
167 XtSetBit(grab->pointerMode, pointer_mode);
168 XtSetBit(grab->keyboardMode, keyboard_mode);
169 grab->eventMask = (unsigned short) event_mask;
170 XtSetBit(grab->hasExt, need_ext)
381 register XtServerGrabPtr grab; local
490 XtServerGrabPtr next, grab; local
544 register XtServerGrabPtr grab; local
654 XtServerGrabPtr grab; local
    [all...]
Pointer.c 65 XtServerGrabPtr newGrab = NULL, devGrab = &device->grab;
81 /* Activate the grab */
82 device->grab = *newGrab;
Keyboard.c 109 XtServerGrabPtr grab; local
111 if ((grab = _XtCheckServerGrabsOnWidget(event, trace[i - 1], KEYBOARD)))
112 return (grab);
265 * If a grab is active from a previous activation then dispatch
289 * and/or the grab being in an ancestor and it's a passive grab
290 * send to grab widget.
301 * if the grab widget is not an ancestor of the focus
302 * release the grab in order to avoid locking. There
314 * if there isn't a grab with then chec
323 XtServerGrabPtr grab; local
    [all...]
EventUtil.c 205 !_XtOnGrabList(pdi->keyboard.grab.widget, pdi->grabList))
211 !_XtOnGrabList(pdi->pointer.grab.widget, pdi->grabList))
  /xsrc/external/mit/xorg-server/dist/Xext/
xvmain.c 212 ErrorF("CreateResourceTypes: failed to allocate grab resource.\n");
519 /* CHECK FOR GRAB; IF THIS CLIENT DOESN'T HAVE THE PORT GRABBED THEN
522 if (pPort->grab.client && (pPort->grab.client != client)) {
567 /* CHECK FOR GRAB; IF THIS CLIENT DOESN'T HAVE THE PORT GRABBED THEN
570 if (pPort->grab.client && (pPort->grab.client != client)) {
603 /* CHECK FOR GRAB; IF THIS CLIENT DOESN'T HAVE THE PORT GRABBED THEN
606 if (pPort->grab.client && (pPort->grab.client != client))
    [all...]
  /xsrc/external/mit/xorg-server.old/dist/Xext/
xvmain.c 221 ErrorF("CreateResourceTypes: failed to allocate grab resource.\n");
607 /* CHECK FOR GRAB; IF THIS CLIENT DOESN'T HAVE THE PORT GRABBED THEN
610 if (pPort->grab.client && (pPort->grab.client != client))
660 /* CHECK FOR GRAB; IF THIS CLIENT DOESN'T HAVE THE PORT GRABBED THEN
663 if (pPort->grab.client && (pPort->grab.client != client))
700 /* CHECK FOR GRAB; IF THIS CLIENT DOESN'T HAVE THE PORT GRABBED THEN
703 if (pPort->grab.client && (pPort->grab.client != client)
    [all...]

Completed in 25 milliseconds

1 2 3