[OS X] Implement 'activate-with-open-windows' event for app.
This commit is contained in:
parent
4d28fbf561
commit
3ad5d17612
7 changed files with 22 additions and 0 deletions
|
@ -53,6 +53,7 @@
|
|||
hasVisibleWindows:(BOOL)flag {
|
||||
atom::Browser* browser = atom::Browser::Get();
|
||||
if (flag) {
|
||||
browser->ActivateWithOpenWindows();
|
||||
return YES;
|
||||
} else {
|
||||
browser->ActivateWithNoOpenWindows();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue