Lines Matching defs:grabWinPtr
113 * the grabWinPtr field of a display. This event guarantees that
165 TkWindow *grabWinPtr));
525 TkWindow *grabWinPtr, *winPtr;
528 grabWinPtr = (TkWindow *) tkwin;
529 dispPtr = grabWinPtr->dispPtr;
530 if (grabWinPtr != dispPtr->eventualGrabWinPtr) {
558 if (winPtr == grabWinPtr) {
563 (dispPtr->serverWinPtr->mainPtr == grabWinPtr->mainPtr)) {
564 MovePointer2(grabWinPtr, dispPtr->serverWinPtr,
702 if (dispPtr->grabWinPtr != NULL) {
753 winPtr2 = dispPtr->grabWinPtr;
797 winPtr2 = dispPtr->grabWinPtr; /* Note 5. */
805 TkChangeEventWindow(eventPtr, dispPtr->grabWinPtr);
812 dispPtr->grabWinPtr->window, True,
1179 if (dispPtr->grabWinPtr == winPtr) {
1180 dispPtr->grabWinPtr = NULL;
1284 * which will cause the "grabWinPtr" field for the display to get
1295 * DispPtr->grabWinPtr will be modified later (by GrabWinEventProc)
1302 QueueGrabWindowChange(dispPtr, grabWinPtr)
1305 TkWindow *grabWinPtr; /* Window that is to become the new grab
1313 if (grabWinPtr == NULL) {
1316 grabEvPtr->grabWindow = grabWinPtr->window;
1319 dispPtr->eventualGrabWinPtr = grabWinPtr;
1337 * The grabWinPtr field is modified in the display associated with
1352 grabEvPtr->dispPtr->grabWinPtr = (TkWindow *) Tk_IdToWindow(
1539 TkWindow *grabWinPtr = winPtr->dispPtr->grabWinPtr;
1541 if (grabWinPtr == NULL) {
1544 if ((winPtr->mainPtr != grabWinPtr->mainPtr)
1549 return TkPositionInTree(winPtr, grabWinPtr);