summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibGUI/Window.h
diff options
context:
space:
mode:
authorKarol Kosek <krkk@krkk.ct8.pl>2021-08-05 00:21:39 +0200
committerAndreas Kling <kling@serenityos.org>2021-08-05 11:43:12 +0200
commitac21c6625dff31c47679cfbe4f3e17d4eb98e357 (patch)
tree0064fd11a8daf2a8050b04a5c7edd79a16ebc2a3 /Userland/Libraries/LibGUI/Window.h
parenta037e0ffec5bdbb8532de096be977b16c703e5a4 (diff)
downloadserenity-ac21c6625dff31c47679cfbe4f3e17d4eb98e357.zip
LibGUI: Add on_active_window_change function object to the Window class
Diffstat (limited to 'Userland/Libraries/LibGUI/Window.h')
-rw-r--r--Userland/Libraries/LibGUI/Window.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/Userland/Libraries/LibGUI/Window.h b/Userland/Libraries/LibGUI/Window.h
index 18945fee26..a6d5b3db8b 100644
--- a/Userland/Libraries/LibGUI/Window.h
+++ b/Userland/Libraries/LibGUI/Window.h
@@ -83,6 +83,7 @@ public:
Function<void()> on_close;
Function<CloseRequestDecision()> on_close_request;
Function<void(bool is_active_input)> on_active_input_change;
+ Function<void(bool is_active_window)> on_active_window_change;
int x() const { return rect().x(); }
int y() const { return rect().y(); }