loadOSDesktopWindows
Loads a list of OSDesktopWindow
objects from the provided list of oshi.software.os.OSDesktopWindow
.
This function iterates through the sourceList
of desktop windows and maps each item to a new OSDesktopWindowImpl
instance, which encapsulates details about the window such as its ID, title, command, owning process ID, order, and visibility.
Return
A list of OSDesktopWindow
objects, representing the desktop windows.
Parameters
sourceList
A list of oshi.software.os.OSDesktopWindow
objects to be mapped.