1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 20:07:35 +00:00

WindowServer: Adjust position of flipped submenus by menu item height

Fixes #5950.
This commit is contained in:
Linus Groh 2021-03-26 09:22:31 +01:00 committed by Andreas Kling
parent 8461100bf7
commit b220c89c5c
2 changed files with 5 additions and 3 deletions

View file

@ -114,7 +114,7 @@ public:
void close();
void popup(const Gfx::IntPoint&);
void do_popup(const Gfx::IntPoint&, bool);
void do_popup(const Gfx::IntPoint&, bool make_input, bool as_submenu = false);
bool is_menu_ancestor_of(const Menu&) const;