diff --git a/Dalamud/Interface/Windowing/WindowSystem.cs b/Dalamud/Interface/Windowing/WindowSystem.cs index f9f894b47..61575f9db 100644 --- a/Dalamud/Interface/Windowing/WindowSystem.cs +++ b/Dalamud/Interface/Windowing/WindowSystem.cs @@ -16,6 +16,7 @@ namespace Dalamud.Interface.Windowing private static DateTimeOffset lastAnyFocus; private readonly List windows = new(); + public IReadOnlyList Windows => this.windows; private string lastFocusedWindowName = string.Empty; @@ -91,12 +92,6 @@ namespace Dalamud.Interface.Windowing /// The object with matching name or null. public Window? GetWindow(string windowName) => this.windows.FirstOrDefault(w => w.WindowName == windowName); - /// - /// Returns a read only list of all currently registered windows. - /// - /// Returns a of the registered windows. - public IReadOnlyList GetWindows() => this.windows; - /// /// Draw all registered windows using ImGui. ///