diff options
-rw-r--r-- | Userland/Services/WindowServer/WindowManager.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Services/WindowServer/WindowManager.cpp b/Userland/Services/WindowServer/WindowManager.cpp index f882545d59..e4638d230f 100644 --- a/Userland/Services/WindowServer/WindowManager.cpp +++ b/Userland/Services/WindowServer/WindowManager.cpp @@ -1960,7 +1960,7 @@ void WindowManager::did_popup_a_menu(Badge<Menu>) if (!active_input_tracking_window) return; active_input_tracking_window->set_automatic_cursor_tracking_enabled(false); - active_input_tracking_window = nullptr; + current_window_stack().set_active_input_tracking_window(nullptr); } void WindowManager::minimize_windows(Window& window, bool minimized) |