1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 10:18:11 +00:00

WindowServer+TaskBar: Add a taskbar window button popup menu.

This patch only hooks up the minimize and unminimize actions.
This commit is contained in:
Andreas Kling 2019-04-23 23:14:14 +02:00
parent c5c4e54a67
commit 956bd23aae
17 changed files with 158 additions and 56 deletions

View file

@ -21,7 +21,7 @@ public:
void add_action(Retained<GAction>);
void add_separator();
void popup(const Point& screen_position);
void popup(const Point& screen_position, bool top_anchored = true);
void dismiss();
Function<void(unsigned)> on_item_activation;