diff options
author | Robin Burchell <robin+git@viroteck.net> | 2019-05-16 01:06:21 +0200 |
---|---|---|
committer | Andreas Kling <awesomekling@gmail.com> | 2019-05-16 01:22:54 +0200 |
commit | f55965b5e84ac61a58aaed6e055680ca317a8540 (patch) | |
tree | 1fb4f3bba1990bab449896b2c770f2dd719187bf /Applications | |
parent | a4b0dfff431579b45fc4d4c6439e74d79fc0e859 (diff) | |
download | serenity-f55965b5e84ac61a58aaed6e055680ca317a8540.zip |
WindowServer/GMenu: Adjust the popup position to fit the window inside the screen
Rather than passing a "top_anchored" bool. Fixes #22.
Diffstat (limited to 'Applications')
-rw-r--r-- | Applications/Taskbar/TaskbarButton.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Applications/Taskbar/TaskbarButton.cpp b/Applications/Taskbar/TaskbarButton.cpp index 0deea6309c..c7e2f60fdc 100644 --- a/Applications/Taskbar/TaskbarButton.cpp +++ b/Applications/Taskbar/TaskbarButton.cpp @@ -27,7 +27,7 @@ TaskbarButton::~TaskbarButton() void TaskbarButton::context_menu_event(GContextMenuEvent&) { - ensure_menu().popup(screen_relative_rect().location(), /* top_anchored */ false); + ensure_menu().popup(screen_relative_rect().location()); } GMenu& TaskbarButton::ensure_menu() |