summaryrefslogtreecommitdiff
path: root/Servers/WindowServer
diff options
context:
space:
mode:
authorAndreas Kling <kling@serenityos.org>2020-04-30 13:38:39 +0200
committerAndreas Kling <kling@serenityos.org>2020-04-30 22:15:16 +0200
commitc3a2dffe297bacaa413d2b4ce223774655144256 (patch)
tree5e78b8c565b59bf7ed868145a71307c4f6afb0b9 /Servers/WindowServer
parent5bdd05024fb87e6fa01a9000adb52c401f79c31c (diff)
downloadserenity-c3a2dffe297bacaa413d2b4ce223774655144256.zip
WindowServer: Tweak window icon menu popup location
Diffstat (limited to 'Servers/WindowServer')
-rw-r--r--Servers/WindowServer/WindowFrame.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Servers/WindowServer/WindowFrame.cpp b/Servers/WindowServer/WindowFrame.cpp
index 6aeec401cd..5face69eff 100644
--- a/Servers/WindowServer/WindowFrame.cpp
+++ b/Servers/WindowServer/WindowFrame.cpp
@@ -358,7 +358,7 @@ void WindowFrame::on_mouse_event(const MouseEvent& event)
if (m_window.type() == WindowType::Normal && event.type() == Event::MouseDown && (event.button() == MouseButton::Left || event.button() == MouseButton::Right) && title_bar_icon_rect().contains(event.position())) {
wm.move_to_front_and_make_active(m_window);
- m_window.popup_window_menu(title_bar_icon_rect().bottom_left().translated(rect().location()));
+ m_window.popup_window_menu(title_bar_rect().bottom_left().translated(rect().location()));
return;
}