Lines Matching refs:window
24 * This function is invoked to move the official X focus from one window
34 * The official X focus window changes; the application's focus window
49 Window window, root, parent, *children;
55 * Don't set the X focus to a window that's marked override-redirect.
59 * will still find their way to the focus window, and menus aren't
60 * decorated anyway so the window manager doesn't need to hear about the
79 * Find the focus window, then see if it or one of its ancestors is a
80 * window in our application (it's possible that the focus window is
85 XGetInputFocus(dispPtr->display, &window, &dummy);
87 winPtr2 = (TkWindow *) Tk_IdToWindow(dispPtr->display, window);
91 if ((window == PointerRoot) || (window == None)) {
94 XQueryTree(dispPtr->display, window, &root, &parent, &children,
102 window = parent;
108 * focus: it is still possible that the window we're focussing to could
113 if (winPtr->window == None) {
114 Tcl_Panic("ChangeXFocus got null X window");
116 XSetInputFocus(dispPtr->display, winPtr->window, RevertToParent,