Removed -[NSApp activateIgnoringOtherApps:]; see http://stackoverflow.com/a/25318870/3408572. I don't know how much of a burden this will be in practice.

This commit is contained in:
Pietro Gagliardi 2014-08-14 19:44:13 -04:00
parent 63981722cf
commit 6f385137fc
1 changed files with 0 additions and 1 deletions

View File

@ -64,7 +64,6 @@ void uiinit(char **errmsg)
// don't check for a NO return; something (launch services?) causes running from application bundles to always return NO when asking to change activation policy, even if the change is to the same activation policy!
// see https://github.com/andlabs/ui/issues/6
[NSApp setActivationPolicy:NSApplicationActivationPolicyRegular];
[NSApp activateIgnoringOtherApps:YES]; // TODO rsc does this; finder says NO?
[NSApp setDelegate:appDelegate];
}