summaryrefslogtreecommitdiff
path: root/Applications
diff options
context:
space:
mode:
authorRobin Burchell <robin+git@viroteck.net>2019-05-16 01:06:21 +0200
committerAndreas Kling <awesomekling@gmail.com>2019-05-16 01:22:54 +0200
commitf55965b5e84ac61a58aaed6e055680ca317a8540 (patch)
tree1fb4f3bba1990bab449896b2c770f2dd719187bf /Applications
parenta4b0dfff431579b45fc4d4c6439e74d79fc0e859 (diff)
downloadserenity-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.cpp2
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()