summaryrefslogtreecommitdiff
path: root/Userland/Services/WindowServer/WindowStack.cpp
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.cpp
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.cpp')
-rw-r--r--Userland/Services/WindowServer/WindowStack.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/Userland/Services/WindowServer/WindowStack.cpp b/Userland/Services/WindowServer/WindowStack.cpp
index a080eef3c1..60a1fca855 100644
--- a/Userland/Services/WindowServer/WindowStack.cpp
+++ b/Userland/Services/WindowServer/WindowStack.cpp
@@ -40,8 +40,6 @@ void WindowStack::remove(Window& window)
m_active_window = nullptr;
if (m_active_input_window == &window)
m_active_input_window = nullptr;
- if (m_automatic_cursor_tracking_window == &window)
- m_automatic_cursor_tracking_window = nullptr;
}
void WindowStack::move_to_front(Window& window)
@@ -102,7 +100,6 @@ void WindowStack::move_all_windows(WindowStack& new_window_stack, Vector<Window*
}
m_active_window = nullptr;
m_active_input_window = nullptr;
- m_automatic_cursor_tracking_window = nullptr;
}
Window* WindowStack::window_at(Gfx::IntPoint const& position, IncludeWindowFrame include_window_frame) const