mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 17:47:36 +00:00
WindowServer: Use window menu actions when clicking frame buttons
This keeps the minimize/maximize/restore/close implementation consistent with the window menu actions.
This commit is contained in:
parent
7345b502ab
commit
31c3382577
4 changed files with 54 additions and 29 deletions
|
@ -77,6 +77,7 @@ public:
|
|||
virtual ~Window() override;
|
||||
|
||||
void popup_window_menu(const Gfx::IntPoint&, WindowMenuDefaultAction);
|
||||
void handle_window_menu_action(WindowMenuAction);
|
||||
void window_menu_activate_default();
|
||||
void request_close();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue