Lines Matching refs:grabResult
356 int grabResult, numTries;
421 grabResult = 0; /* Needed only to prevent gcc
424 grabResult = XGrabPointer(dispPtr->display, winPtr->window,
428 if (grabResult != AlreadyGrabbed) {
433 if (grabResult != 0) {
435 if (grabResult == GrabNotViewable) {
437 } else if (grabResult == AlreadyGrabbed) {
439 } else if (grabResult == GrabFrozen) {
441 } else if (grabResult == GrabInvalidTime) {
447 grabResult);
452 grabResult = XGrabKeyboard(dispPtr->display, Tk_WindowId(tkwin),
454 if (grabResult != 0) {