summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPietro Gagliardi <[email protected]>2014-08-14 19:44:13 -0400
committerPietro Gagliardi <[email protected]>2014-08-14 19:44:13 -0400
commit6f385137fcbb7a3108b31923bbaf971daf183965 (patch)
treef186eb23e15277c07bd94e7df1a32fc2b1c3984d
parent63981722cff3e592cdc075a735ca0a3657b331b8 (diff)
Removed -[NSApp activateIgnoringOtherApps:]; see http://stackoverflow.com/a/25318870/3408572. I don't know how much of a burden this will be in practice.
-rw-r--r--redo/uitask_darwin.m1
1 files changed, 0 insertions, 1 deletions
diff --git a/redo/uitask_darwin.m b/redo/uitask_darwin.m
index 0f4d774..29c9475 100644
--- a/redo/uitask_darwin.m
+++ b/redo/uitask_darwin.m
@@ -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];
}