Package oshi.driver.unix
Class Xwininfo
java.lang.Object
oshi.driver.unix.Xwininfo
@ThreadSafe public final class Xwininfo extends java.lang.Object
Utility to query X11 windows
-
Method Summary
Modifier and Type Method Description static java.util.List<OSDesktopWindow>queryXWindows(boolean visibleOnly)Gets windows on the operating system's GUI desktop.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Method Details
-
queryXWindows
Gets windows on the operating system's GUI desktop.- Parameters:
visibleOnly- Whether to restrict the list to only windows visible to the user.- Returns:
- A list of
OSDesktopWindowobjects representing the desktop windows.
-