Searched refs:grab (Results 1 - 25 of 171) sorted by relevance

1234567

/xsrc/external/mit/xorg-server.old/dist/Xi/
H A Dungrdev.c49 * Request to release a grab of an extension device.
84 * Release a grab of an extension device.
92 GrabPtr grab; local in function:ProcXUngrabDevice
102 grab = dev->deviceGrab.grab;
107 (grab) && SameClient(grab, client) && grab->grabtype == GRABTYPE_XI)
H A Dclosedev.c96 GrabPtr grab, next; local in function:DeleteDeviceEvents
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, clien
[all...]
H A Dxigrabdev.c28 * Request to grab or ungrab input device.
138 GrabPtr grab; local in function:ProcXIUngrabDevice
150 grab = dev->deviceGrab.grab;
155 (grab) && SameClient(grab, client) && grab->grabtype == GRABTYPE_XI2)
H A Dsetmode.c107 if ((dev->deviceGrab.grab) && !SameClient(dev->deviceGrab.grab, client))
H A Dsetdval.c116 if ((dev->deviceGrab.grab) && !SameClient(dev->deviceGrab.grab, client))
H A Dexevents.c904 GrabPtr grab = device->deviceGrab.grab; local in function:ProcessRawEvent
906 if (grab)
935 GrabPtr grab; local in function:ProcessOtherEvent
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
1425 GrabPtr grab; local in function:GrabButton
1481 GrabPtr grab; local in function:GrabKey
1526 GrabPtr grab; local in function:GrabWindow
1982 CheckDeviceGrabAndHintWindow(WindowPtr pWin,int type,deviceKeyButtonPointer * xE,GrabPtr grab,ClientPtr client,Mask deliveryMask) argument
2033 GrabPtr grab = dev->deviceGrab.grab; local in function:MaybeStopDeviceHint
[all...]
/xsrc/external/mit/xorg-server/dist/Xi/
H A Dungrdev.c49 * Request to release a grab of an extension device.
82 * Release a grab of an extension device.
90 GrabPtr grab; local in function:ProcXUngrabDevice
100 grab = dev->deviceGrab.grab;
105 (grab) && SameClient(grab, client) && grab->grabtype == XI)
H A Dclosedev.c94 GrabPtr grab, next; local in function:DeleteDeviceEvents
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, clien
[all...]
H A Dxigrabdev.c28 * Request to grab or ungrab input device.
155 GrabPtr grab; local in function:ProcXIUngrabDevice
166 grab = dev->deviceGrab.grab;
171 (grab) && SameClient(grab, client) && grab->grabtype == XI2)
H A Dsetmode.c111 if ((dev->deviceGrab.grab) && !SameClient(dev->deviceGrab.grab, client))
H A Dexevents.c695 * 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 in function:ActivateEarlyAccept
1114 BUG_RETURN(!grab);
1116 client = rClient(grab);
1120 ErrorF("[Xi] Failed to accept touch grab afte
1071 DeliverOneTouchEvent(ClientPtr client,DeviceIntPtr dev,TouchPointInfoPtr ti,GrabPtr grab,WindowPtr win,InternalEvent * ev) argument
1353 RetrieveTouchDeliveryData(DeviceIntPtr dev,TouchPointInfoPtr ti,InternalEvent * ev,TouchListener * listener,ClientPtr * client,WindowPtr * win,GrabPtr * grab,XI2Mask ** mask) argument
1432 DeliverTouchEmulatedEvent(DeviceIntPtr dev,TouchPointInfoPtr ti,InternalEvent * ev,TouchListener * listener,ClientPtr client,WindowPtr win,GrabPtr grab,XI2Mask * xi2mask) argument
1565 GrabPtr grab; local in function:DeliverEmulatedMotionEvent
1714 GrabPtr grab = dev->deviceGrab.grab; local in function:ProcessBarrierEvent
1821 GrabPtr grab; local in function:ProcessDeviceEvent
2024 DeliverTouchBeginEvent(DeviceIntPtr dev,TouchPointInfoPtr ti,InternalEvent * ev,TouchListener * listener,ClientPtr client,WindowPtr win,GrabPtr grab,XI2Mask * xi2mask) argument
2075 DeliverTouchEndEvent(DeviceIntPtr dev,TouchPointInfoPtr ti,InternalEvent * ev,TouchListener * listener,ClientPtr client,WindowPtr win,GrabPtr grab,XI2Mask * xi2mask) argument
2141 DeliverTouchEvent(DeviceIntPtr dev,TouchPointInfoPtr ti,InternalEvent * ev,TouchListener * listener,ClientPtr client,WindowPtr win,GrabPtr grab,XI2Mask * xi2mask) argument
2204 GrabPtr grab = NULL; local in function:DeliverTouchEvents
2225 DeliverOneGestureEvent(ClientPtr client,DeviceIntPtr dev,GestureInfoPtr gi,GrabPtr grab,WindowPtr win,InternalEvent * ev) argument
2264 RetrieveGestureDeliveryData(DeviceIntPtr dev,InternalEvent * ev,GestureListener * listener,ClientPtr * client,WindowPtr * win,GrabPtr * grab) argument
2310 GrabPtr grab = NULL; local in function:DeliverGestureEventToOwner
2486 GrabPtr grab; local in function:GrabButton
2543 GrabPtr grab; local in function:GrabKey
2589 GrabPtr grab; local in function:GrabWindow
2635 GrabPtr grab; local in function:GrabTouchOrGesture
3148 CheckDeviceGrabAndHintWindow(WindowPtr pWin,int type,deviceKeyButtonPointer * xE,GrabPtr grab,ClientPtr client,Mask deliveryMask) argument
3204 GrabPtr grab = dev->deviceGrab.grab; local in function:MaybeStopDeviceHint
[all...]
H A Dsetdval.c119 if ((dev->deviceGrab.grab) && !SameClient(dev->deviceGrab.grab, client))
/xsrc/external/mit/xorg-server/dist/dix/
H A Dgrabs.c80 GrabPtr grab = devGrab->grab; local in function:PrintDeviceGrabInfo
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)
194 GrabPtr grab = calloc(1, sizeof(GrabRec)); local in function:AllocGrab
219 GrabPtr grab; local in function:CreateGrab
531 GrabPtr grab; local in function:AddPassiveGrabToList
578 GrabPtr grab; local in function:DeletePassiveGrabFromList
707 GrabIsPointerGrab(GrabPtr grab) argument
714 GrabIsKeyboardGrab(GrabPtr grab) argument
721 GrabIsGestureGrab(GrabPtr grab) argument
[all...]
H A Dgestures.c111 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
156 GestureAddListener(GestureInfoPtr gi,XID resource,int resource_type,enum GestureListenerType type,WindowPtr window,const GrabPtr grab) argument
177 GestureAddGrabListener(DeviceIntPtr dev,GestureInfoPtr gi,GrabPtr grab) argument
210 GrabPtr grab = CheckPassiveGrabsOnWindow(win, dev, ev, check_core, local in function:GestureAddPassiveGrabListener
[all...]
H A Devents.c194 * 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 in function:PostNewCursor
985 if (grab) {
986 if (grab->cursor) {
987 ChangeToCursor(pDev, grab->cursor);
990 if (IsParent(grab->window, pSprite->win))
993 win = grab
1321 GrabPtr grab; local in function:ComputeFreezes
1397 GrabPtr grab; local in function:ScreenRestructured
1424 GrabPtr grab = thisDev->deviceGrab.grab; local in function:CheckGrabForSyncs
1526 GrabPtr grab = mouse->deviceGrab.grab; local in function:UpdateTouchesForGrab
1569 GrabPtr grab = mouse->deviceGrab.grab; local in function:UpdateGesturesForGrab
1612 ActivatePointerGrab(DeviceIntPtr mouse,GrabPtr grab,TimeStamp time,Bool autoGrab) argument
1661 GrabPtr grab = mouse->deviceGrab.grab; local in function:DeactivatePointerGrab
1732 ActivateKeyboardGrab(DeviceIntPtr keybd,GrabPtr grab,TimeStamp time,Bool passive) argument
1783 GrabPtr grab = keybd->deviceGrab.grab; local in function:DeactivateKeyboardGrab
2045 TryClientEvents(ClientPtr client,DeviceIntPtr dev,xEvent * pEvents,int count,Mask mask,Mask filter,GrabPtr grab) argument
2202 DeliverToWindowOwner(DeviceIntPtr dev,WindowPtr win,xEvent * events,int count,Mask filter,GrabPtr grab) argument
2270 DeliverEventToInputClients(DeviceIntPtr dev,InputClients * inputclients,WindowPtr win,xEvent * events,int count,Mask filter,GrabPtr grab,ClientPtr * client_return,Mask * mask_return) argument
2327 DeliverEventToWindowMask(DeviceIntPtr dev,WindowPtr win,xEvent * events,int count,Mask filter,GrabPtr grab,ClientPtr * client_return,Mask * mask_return) argument
2364 DeliverEventsToWindow(DeviceIntPtr pDev,WindowPtr pWin,xEvent * pEvents,int count,Mask filter,GrabPtr grab) argument
2445 FilterRawEvents(const ClientPtr client,const GrabPtr grab,WindowPtr root) argument
2479 GrabPtr grab = device->deviceGrab.grab; local in function:DeliverRawEvent
2533 XineramaTryClientEventsResult(ClientPtr client,GrabPtr grab,Mask mask,Mask filter) argument
2816 DeliverEvent(DeviceIntPtr dev,xEvent * xE,int count,WindowPtr win,Window child,GrabPtr grab) argument
2833 DeliverOneEvent(InternalEvent * event,DeviceIntPtr dev,enum InputLevel level,WindowPtr win,Window child,GrabPtr grab) argument
2888 DeliverDeviceEvents(WindowPtr pWin,InternalEvent * event,GrabPtr grab,WindowPtr stopAt,DeviceIntPtr dev) argument
3289 GrabPtr grab; local in function:ReinitializeRootWindow
3833 ActivatePassiveGrab(DeviceIntPtr device,GrabPtr grab,InternalEvent * event,InternalEvent * real_event) argument
3910 ActivateGrabNoDelivery(DeviceIntPtr dev,GrabPtr grab,InternalEvent * event,InternalEvent * real_event) argument
3923 CoreGrabInterferes(DeviceIntPtr device,GrabPtr grab) argument
3964 MatchForType(const GrabPtr grab,GrabPtr tmp,enum InputLevel level,int event_type) argument
4017 CheckPassiveGrab(DeviceIntPtr device,GrabPtr grab,InternalEvent * event,Bool checkCore,GrabPtr tempGrab) argument
4113 GrabPtr grab = wPassiveGrabs(pWin); local in function:CheckPassiveGrabsOnWindow
4351 GrabPtr grab = grabinfo->grab; local in function:DeliverOneGrabbedEvent
4422 GrabPtr grab; local in function:DeliverGrabbedEvent
4482 GrabPtr grab = grabinfo->grab; local in function:FreezeThisEventIfNeededForSyncGrab
4740 GrabPtr grab = mouse->deviceGrab.grab; local in function:CoreEnterLeaveEvent
4812 GrabPtr grab = mouse->deviceGrab.grab; local in function:DeviceEnterLeaveEvent
5078 GrabPtr grab; local in function:ProcGrabPointer
5136 GrabPtr grab; local in function:ProcChangeActivePointerGrab
5189 GrabPtr grab; local in function:ProcUngrabPointer
5231 GrabPtr grab; local in function:GrabDevice
5378 GrabPtr grab; local in function:ProcUngrabKeyboard
5706 GrabPtr grab; local in function:ProcGrabKey
5758 GrabPtr grab; local in function:ProcGrabButton
5909 GrabPtr grab; local in function:DeleteWindowFromAnyEvents
6008 GrabPtr grab; local in function:CheckCursorConfinement
6257 GrabPtr grab = it->deviceGrab.grab; local in function:PickPointer
[all...]
H A Dtouch.c347 GrabPtr grab; local in function:TouchEndTouch
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, no
634 TouchAddListener(TouchPointInfoPtr ti,XID resource,int resource_type,enum InputLevel level,enum TouchListenerType type,enum TouchListenerState state,WindowPtr window,const GrabPtr grab) argument
695 TouchAddGrabListener(DeviceIntPtr dev,TouchPointInfoPtr ti,InternalEvent * ev,GrabPtr grab) argument
725 GrabPtr grab; local in function:TouchAddPassiveGrabListener
824 TouchAddActiveGrabListener(DeviceIntPtr dev,TouchPointInfoPtr ti,InternalEvent * ev,GrabPtr grab) argument
881 GrabPtr grab; local in function:TouchRemovePointerGrab
[all...]
/xsrc/external/mit/xorg-server.old/dist/dix/
H A Dgrabs.c85 GrabPtr grab; local in function:CreateGrab
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
364 GrabPtr grab; local in function:AddPassiveGrabToList
416 GrabPtr grab; local in function:DeletePassiveGrabFromList
[all...]
H A Devents.c188 * 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 in function:PostNewCursor
967 if (grab)
969 if (grab->cursor)
971 ChangeToCursor(pDev, grab->cursor);
974 if (IsParent(grab->window, pSprite->win))
977 win = grab
1268 GrabPtr grab; local in function:ComputeFreezes
1330 GrabPtr grab; local in function:ScreenRestructured
1358 GrabPtr grab = thisDev->deviceGrab.grab; local in function:CheckGrabForSyncs
1441 ActivatePointerGrab(DeviceIntPtr mouse,GrabPtr grab,TimeStamp time,Bool autoGrab) argument
1487 GrabPtr grab = mouse->deviceGrab.grab; local in function:DeactivatePointerGrab
1522 ActivateKeyboardGrab(DeviceIntPtr keybd,GrabPtr grab,TimeStamp time,Bool passive) argument
1561 GrabPtr grab = keybd->deviceGrab.grab; local in function:DeactivateKeyboardGrab
1818 TryClientEvents(ClientPtr client,DeviceIntPtr dev,xEvent * pEvents,int count,Mask mask,Mask filter,GrabPtr grab) argument
1955 DeliverEventsToWindow(DeviceIntPtr pDev,WindowPtr pWin,xEvent * pEvents,int count,Mask filter,GrabPtr grab) argument
2108 XineramaTryClientEventsResult(ClientPtr client,GrabPtr grab,Mask mask,Mask filter) argument
2362 DeliverDeviceEvents(WindowPtr pWin,InternalEvent * event,GrabPtr grab,WindowPtr stopAt,DeviceIntPtr dev) argument
2816 GrabPtr grab; local in function:ReinitializeRootWindow
3361 GrabPtr grab = wPassiveGrabs(pWin); local in function:CheckPassiveGrabsOnWindow
3735 GrabPtr grab; local in function:DeliverGrabbedEvent
4165 GrabPtr grab = mouse->deviceGrab.grab; local in function:CoreEnterLeaveEvent
4247 GrabPtr grab = mouse->deviceGrab.grab; local in function:DeviceEnterLeaveEvent
4515 GrabPtr grab; local in function:ProcGrabPointer
4584 GrabPtr grab; local in function:ProcChangeActivePointerGrab
4639 GrabPtr grab; local in function:ProcUngrabPointer
4680 GrabPtr grab; local in function:GrabDevice
4826 GrabPtr grab; local in function:ProcUngrabKeyboard
5161 GrabPtr grab; local in function:ProcGrabKey
5214 GrabPtr grab; local in function:ProcGrabButton
5365 GrabPtr grab; local in function:DeleteWindowFromAnyEvents
5475 GrabPtr grab; local in function:CheckCursorConfinement
5740 GrabPtr grab = it->deviceGrab.grab; local in function:PickPointer
[all...]
/xsrc/external/mit/xorg-server/dist/include/
H A Ddixgrabs.h35 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/
H A DPassivGrab.c141 * Allocate a new grab entry, and fill in all of the fields using the
157 XtServerGrabPtr grab; local in function:CreateGrab
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
381 register XtServerGrabPtr grab; local in function:DeleteServerGrabFromList
490 XtServerGrabPtr next, grab; local in function:DestroyPassiveList
544 register XtServerGrabPtr grab; local in function:_XtCheckServerGrabsOnWidget
599 MakeGrab(XtServerGrabPtr grab,XtServerGrabPtr * passiveListPtr,Boolean isKeyboard,XtPerDisplayInput pdi,XtPerWidgetInput pwi) argument
654 XtServerGrabPtr grab; local in function:MakeGrabs
[all...]
H A DPointer.c65 XtServerGrabPtr newGrab = NULL, devGrab = &device->grab;
81 /* Activate the grab */
82 device->grab = *newGrab;
H A DKeyboard.c109 XtServerGrabPtr grab; local in function:CheckServerGrabs
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 wit
323 XtServerGrabPtr grab; local in function:FindKeyDestination
[all...]
/xsrc/external/mit/xcursor-themes/dist/whiteglass/
H A DMakefile.cfg26 CursorLinkTarget grab hand1
/xsrc/external/mit/xorg-server.old/dist/Xext/
H A Dxvmain.c221 ErrorF("CreateResourceTypes: failed to allocate grab resource.\n");
610 if (pPort->grab.client && (pPort->grab.client != client))
663 if (pPort->grab.client && (pPort->grab.client != client))
703 if (pPort->grab.client && (pPort->grab.client != client))
740 if (pPort->grab.client && (pPort->grab.client != client))
793 if (pPort->grab
[all...]
/xsrc/external/mit/xorg-server/dist/Xext/
H A Dxvmain.c212 ErrorF("CreateResourceTypes: failed to allocate grab resource.\n");
522 if (pPort->grab.client && (pPort->grab.client != client)) {
570 if (pPort->grab.client && (pPort->grab.client != client)) {
606 if (pPort->grab.client && (pPort->grab.client != client)) {
639 if (pPort->grab.client && (pPort->grab.client != client)) {
687 if (pPort->grab
[all...]

Completed in 22 milliseconds

1234567