Lines Matching defs:window

209                throw new IllegalStateException("Root window must not be null");
339 static void addToWinMap(long window, XBaseWindow xwin)
342 winMap.put(Long.valueOf(window),xwin);
346 static void removeFromWinMap(long window, XBaseWindow xwin) {
348 winMap.remove(Long.valueOf(window));
351 static XBaseWindow windowToXWindow(long window) {
353 return (XBaseWindow) winMap.get(Long.valueOf(window));
357 static void addEventDispatcher(long window, XEventDispatcher dispatcher) {
359 Long key = Long.valueOf(window);
368 static void removeEventDispatcher(long window, XEventDispatcher dispatcher) {
370 Long key = Long.valueOf(window);
417 // Leave from our window
425 // Entrance into our window
477 // The 'window' field in this event is unused.
671 * window manager supports _NET protocol then the screen insets
673 * window.
727 * all the X windows hierarchy starting from root window. This
730 * window is a child of either root or desktop window.
744 long window = (Long)search.remove(0);
748 * Note that most of the modern window managers unmap
749 * application window if it is iconified. Thus, any
753 if (XlibUtil.getWindowMapState(window) == XConstants.IsUnmapped)
762 // if both are set on the window, _NET_WM_STRUT_PARTIAL is used (see _NET spec)
763 boolean strutPresent = XA_NET_WM_STRUT_PARTIAL.getAtomData(window, XAtom.XA_CARDINAL, native_ptr, 4);
766 strutPresent = XA_NET_WM_STRUT.getAtomData(window, XAtom.XA_CARDINAL, native_ptr, 4);
770 // second, verify that window is located on the proper screen
771 Rectangle windowBounds = XlibUtil.getWindowGeometry(window);
774 windowBounds = XlibUtil.translateCoordinates(window, root, windowBounds);
777 // if the struts area intersects with screenBounds, however some window
795 Set<Long> children = XlibUtil.getChildWindows(window);
810 * (with XSetWindowBackground) for the canvas window. However,
850 * window manager. If the window manager supports it, it happens
1629 long window = 0;
1631 // get any application window
1632 window = ((Long)(winMap.firstKey())).longValue();
1634 // get root window
1635 window = getDefaultRootWindow();
1637 boolean res = XlibWrapper.XQueryPointer(getDisplay(), window,
2409 * Check if the running desktop is Gnome by checking the window manager.