diff options
author | Karol Kosek <krkk@krkk.ct8.pl> | 2021-08-05 00:21:39 +0200 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2021-08-05 11:43:12 +0200 |
commit | ac21c6625dff31c47679cfbe4f3e17d4eb98e357 (patch) | |
tree | 0064fd11a8daf2a8050b04a5c7edd79a16ebc2a3 /Userland/Libraries/LibGUI/Window.h | |
parent | a037e0ffec5bdbb8532de096be977b16c703e5a4 (diff) | |
download | serenity-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.h | 1 |
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(); } |