Class Xwininfo

java.lang.Object
oshi.driver.unix.Xwininfo

@ThreadSafe public final class Xwininfo extends Object
Utility to query X11 windows
  • Method Details

    • queryXWindows

      public static List<OSDesktopWindow> queryXWindows(boolean visibleOnly)
      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 OSDesktopWindow objects representing the desktop windows.