feat: add did-resign-active
event on app (#37933)
feat: add did-resign-active event on app
This commit is contained in:
parent
f4b172b9ec
commit
32afdda9ee
7 changed files with 34 additions and 4 deletions
|
@ -787,6 +787,10 @@ void App::OnNewWindowForTab() {
|
|||
void App::OnDidBecomeActive() {
|
||||
Emit("did-become-active");
|
||||
}
|
||||
|
||||
void App::OnDidResignActive() {
|
||||
Emit("did-resign-active");
|
||||
}
|
||||
#endif
|
||||
|
||||
bool App::CanCreateWindow(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue