summaryrefslogtreecommitdiff
path: root/Userland/Services/WindowServer/WindowStack.h
diff options
context:
space:
mode:
authorAndreas Kling <kling@serenityos.org>2022-08-15 22:39:36 +0200
committerAndreas Kling <kling@serenityos.org>2022-08-16 00:58:26 +0200
commit296e68fdbf858244e722b2113002035d20b76901 (patch)
tree59003a6bf498dec2bd95462a1341e45dd9bb406b /Userland/Services/WindowServer/WindowStack.h
parentadd4f42d219a4a7f7b8641f8836a7d90c39a608e (diff)
downloadserenity-296e68fdbf858244e722b2113002035d20b76901.zip
WindowServer: Move "automatic cursor tracking window" to WindowManager
It didn't make sense for this to be a per-WindowStack concept, since automatic cursor tracking is globally modal.
Diffstat (limited to 'Userland/Services/WindowServer/WindowStack.h')
-rw-r--r--Userland/Services/WindowServer/WindowStack.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/Userland/Services/WindowServer/WindowStack.h b/Userland/Services/WindowServer/WindowStack.h
index 03a7103312..5f7468ed2b 100644
--- a/Userland/Services/WindowServer/WindowStack.h
+++ b/Userland/Services/WindowServer/WindowStack.h
@@ -60,10 +60,6 @@ public:
Window const* active_input_window() const { return m_active_input_window; }
void set_active_input_window(Window* window) { m_active_input_window = window; }
- Window* automatic_cursor_tracking_window() { return m_automatic_cursor_tracking_window; }
- Window const* automatic_cursor_tracking_window() const { return m_automatic_cursor_tracking_window; }
- void set_automatic_cursor_tracking_window(Window* window) { m_automatic_cursor_tracking_window = window; }
-
Optional<HitTestResult> hit_test(Gfx::IntPoint const&) const;
unsigned row() const { return m_row; }
@@ -84,7 +80,6 @@ public:
private:
WeakPtr<Window> m_active_window;
WeakPtr<Window> m_active_input_window;
- WeakPtr<Window> m_automatic_cursor_tracking_window;
Window::List m_windows;
unsigned m_row { 0 };