diff options
Diffstat (limited to 'Services/WindowServer/WindowManager.cpp')
-rw-r--r-- | Services/WindowServer/WindowManager.cpp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/Services/WindowServer/WindowManager.cpp b/Services/WindowServer/WindowManager.cpp index 2b168107d1..f45cf2d2f6 100644 --- a/Services/WindowServer/WindowManager.cpp +++ b/Services/WindowServer/WindowManager.cpp @@ -1314,4 +1314,13 @@ bool WindowManager::update_theme(String theme_path, String theme_name) return true; } +void WindowManager::did_popup_a_menu(Badge<Menu>) +{ + // Clear any ongoing input gesture + if (!m_active_input_window) + return; + m_active_input_window->set_automatic_cursor_tracking_enabled(false); + m_active_input_window = nullptr; +} + } |