diff options
Diffstat (limited to 'Userland/Services/WindowServer/WindowStack.h')
-rw-r--r-- | Userland/Services/WindowServer/WindowStack.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Userland/Services/WindowServer/WindowStack.h b/Userland/Services/WindowServer/WindowStack.h index 6a2b7fb97a..768134c255 100644 --- a/Userland/Services/WindowServer/WindowStack.h +++ b/Userland/Services/WindowServer/WindowStack.h @@ -40,8 +40,13 @@ public: Window const* highlight_window() const { return m_highlight_window; } void set_highlight_window(Window*); + Window* active_window() { return m_active_window; } + Window const* active_window() const { return m_active_window; } + void set_active_window(Window*); + private: WeakPtr<Window> m_highlight_window; + WeakPtr<Window> m_active_window; Window::List m_windows; }; |