mirror of
https://github.com/Stone-Red-Code/RemSox.git
synced 2026-09-04 09:06:23 +02:00
Add taskbar, start menu, and desktop background with gradient bands
This commit is contained in:
@@ -263,6 +263,20 @@ public static class WindowManager
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Returns all windows across all processes, ordered by Z-index (highest first).
|
||||
/// </summary>
|
||||
public static List<Window> GetAllWindows()
|
||||
{
|
||||
lock (windowsLock)
|
||||
{
|
||||
return windows.Values
|
||||
.SelectMany(w => w)
|
||||
.OrderBy(w => w.Id)
|
||||
.ToList();
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Closes all windows belonging to the given process.
|
||||
/// </summary>
|
||||
|
||||
Reference in New Issue
Block a user