Class Xwininfo
java.lang.Object
oshi.driver.unix.Xwininfo
Utility to query X11 windows
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate static longqueryPidFromId(String id) static List<OSDesktopWindow> queryXWindows(boolean visibleOnly) Gets windows on the operating system's GUI desktop.
-
Field Details
-
NET_CLIENT_LIST_STACKING
-
XWININFO_ROOT_TREE
-
XPROP_NET_WM_PID_ID
-
-
Constructor Details
-
Xwininfo
private Xwininfo()
-
-
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.
-
queryPidFromId
-