summaryrefslogtreecommitdiff
path: root/Userland/Services/WindowServer/WindowFrame.cpp
diff options
context:
space:
mode:
authorAndreas Kling <kling@serenityos.org>2021-03-26 08:54:33 +0100
committerAndreas Kling <kling@serenityos.org>2021-03-26 08:54:33 +0100
commit6ae174f80aad9caccf60d068864b19fe1ef6541e (patch)
tree1faabe59a187f92c0345bc0470db596c66b52e26 /Userland/Services/WindowServer/WindowFrame.cpp
parente94e94becc684ecb5692e67217d92f66ad69703e (diff)
downloadserenity-6ae174f80aad9caccf60d068864b19fe1ef6541e.zip
WindowServer: Remove some leftover unused menubar things
Diffstat (limited to 'Userland/Services/WindowServer/WindowFrame.cpp')
-rw-r--r--Userland/Services/WindowServer/WindowFrame.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Services/WindowServer/WindowFrame.cpp b/Userland/Services/WindowServer/WindowFrame.cpp
index 9acfffd2b2..8b65955576 100644
--- a/Userland/Services/WindowServer/WindowFrame.cpp
+++ b/Userland/Services/WindowServer/WindowFrame.cpp
@@ -759,7 +759,7 @@ void WindowFrame::handle_menu_mouse_event(Menu& menu, const MouseEvent& event)
if (should_open_menu) {
MenuManager::the().close_everyone();
menu.ensure_menu_window().move_to(menu.rect_in_window_menubar().bottom_left().translated(rect().location()).translated(menubar_rect.location()));
- MenuManager::the().open_menu(menu, false);
+ MenuManager::the().open_menu(menu);
WindowManager::the().set_window_with_active_menu(&m_window);
invalidate(menubar_rect);
return;