summaryrefslogtreecommitdiff
path: root/Userland/Services/WindowServer/Window.h
diff options
context:
space:
mode:
authorTom <tomut@yahoo.com>2021-04-27 21:24:32 -0600
committerLinus Groh <mail@linusgroh.de>2021-04-28 09:40:34 +0200
commit31c3382577808e406b920fefa70abaea3c15c570 (patch)
tree4496d43dac708571df3637e26d09410dba6cf097 /Userland/Services/WindowServer/Window.h
parent7345b502abdb769b7c7f63be9b9c883fc18f5929 (diff)
downloadserenity-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.h1
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();