summaryrefslogtreecommitdiff
path: root/Servers/WindowServer/WSMenu.h
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 /Servers/WindowServer/WSMenu.h
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 'Servers/WindowServer/WSMenu.h')
-rw-r--r--Servers/WindowServer/WSMenu.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Servers/WindowServer/WSMenu.h b/Servers/WindowServer/WSMenu.h
index 43f66f838d..b9a9713256 100644
--- a/Servers/WindowServer/WSMenu.h
+++ b/Servers/WindowServer/WSMenu.h
@@ -74,7 +74,7 @@ public:
void close();
- void popup(const Point&, bool top_anchored);
+ void popup(const Point&);
private:
virtual void event(CEvent&) override;