mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-06-30 22:22:07 +00:00
LibGUI: Add on_activity_change function to Window
Reports changes on the active/inactive state of a window.
This commit is contained in:
parent
7739497e34
commit
dc716194c8
Notes:
sideshowbarker
2024-07-19 04:49:06 +09:00
Author: https://github.com/thankyouverycool
Commit: dc716194c8
Pull-request: https://github.com/SerenityOS/serenity/pull/2794
Reviewed-by: https://github.com/awesomekling
2 changed files with 3 additions and 0 deletions
|
@ -98,6 +98,7 @@ public:
|
|||
};
|
||||
|
||||
Function<CloseRequestDecision()> on_close_request;
|
||||
Function<void(const bool is_active)> on_activity_change;
|
||||
|
||||
int x() const { return rect().x(); }
|
||||
int y() const { return rect().y(); }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue