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 /Servers/WindowServer/WSMenu.h | |
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 'Servers/WindowServer/WSMenu.h')
-rw-r--r-- | Servers/WindowServer/WSMenu.h | 2 |
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; |