Lines Matching defs:pwi
162 XtPerWidgetInput pwi = NULL;
168 if ((pwi = _XtGetPerWidgetInput(trace[src], FALSE))) {
169 if (pwi->focusKid) {
170 dst = pwi->focusKid;
182 if (pwi && pwi->focusKid == widget)
190 && (pwi = _XtGetPerWidgetInput(dst, FALSE))
191 && pwi->focusKid)
192 dst = pwi->focusKid;
459 XtPerWidgetInput pwi = (XtPerWidgetInput) client_data;
460 XtGeneology oldFocalPoint = pwi->focalPoint;
461 XtGeneology newFocalPoint = pwi->focalPoint;
532 Widget descendant = pwi->focusKid;
534 pwi->focalPoint = newFocalPoint;
539 pwi->haveFocus = TRUE;
544 pwi->haveFocus = FALSE;
564 XtPerWidgetInput pwi,
590 False, _XtHandleFocus, (XtPointer) pwi);
595 _XtHandleFocus, (XtPointer) pwi);
608 if (XtIsRealized(widget) && !pwi->haveFocus) {
625 pwi->haveFocus = TRUE;
646 pwi->haveFocus = TRUE;
651 if (pwi->haveFocus) {
669 XtPerWidgetInput pwi = _XtGetPerWidgetInput(ancestor, FALSE);
671 if (pwi) {
672 Widget target = pwi->queryEventDescendant;
676 if (pwi->focusKid == target) {
677 AddFocusHandler(ancestor, target, pwi,
684 pwi->map_handler_added = FALSE;
700 XtPerWidgetInput pwi;
708 pwi = _XtGetPerWidgetInput(widget, TRUE);
709 oldDesc = pwi->focusKid;
720 pwi->focusKid = descendant;
733 if (pwi->map_handler_added) {
736 pwi->map_handler_added = FALSE;
738 if (pwi->haveFocus) {
742 else if (pwi->map_handler_added) {
743 pwi->map_handler_added = FALSE;
746 if (pwi->haveFocus)
755 * Keep the pwi record on the assumption that the client
760 _XtHandleFocus, (XtPointer) pwi);
761 pwi->haveFocus = FALSE;
772 AddFocusHandler(widget, descendant, pwi, psi, pdi,
784 pwi->map_handler_added = TRUE;
785 pwi->queryEventDescendant = descendant;