feat: Add did-become-active event on mac (#23872)
Co-authored-by: Lukas Weber <luweber@microsoft.com>
This commit is contained in:
parent
f9fe8a67b9
commit
cf284991d8
7 changed files with 30 additions and 0 deletions
|
@ -684,6 +684,10 @@ void App::OnUpdateUserActivityState(bool* prevent_default,
|
|||
void App::OnNewWindowForTab() {
|
||||
Emit("new-window-for-tab");
|
||||
}
|
||||
|
||||
void App::OnDidBecomeActive() {
|
||||
Emit("did-become-active");
|
||||
}
|
||||
#endif
|
||||
|
||||
bool App::CanCreateWindow(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue