diff options
author | Tom <tomut@yahoo.com> | 2021-04-27 21:24:32 -0600 |
---|---|---|
committer | Linus Groh <mail@linusgroh.de> | 2021-04-28 09:40:34 +0200 |
commit | 31c3382577808e406b920fefa70abaea3c15c570 (patch) | |
tree | 4496d43dac708571df3637e26d09410dba6cf097 /Userland/Services/WindowServer/Window.h | |
parent | 7345b502abdb769b7c7f63be9b9c883fc18f5929 (diff) | |
download | serenity-31c3382577808e406b920fefa70abaea3c15c570.zip |
WindowServer: Use window menu actions when clicking frame buttons
This keeps the minimize/maximize/restore/close implementation
consistent with the window menu actions.
Diffstat (limited to 'Userland/Services/WindowServer/Window.h')
-rw-r--r-- | Userland/Services/WindowServer/Window.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Userland/Services/WindowServer/Window.h b/Userland/Services/WindowServer/Window.h index a36b2d3258..4d44fe290b 100644 --- a/Userland/Services/WindowServer/Window.h +++ b/Userland/Services/WindowServer/Window.h @@ -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(); |