From cc8d8928ae416c846a9f077b0c115518dcf9ee3e Mon Sep 17 00:00:00 2001 From: "alexey.lysiuk" Date: Sat, 15 Nov 2014 17:07:27 +0200 Subject: [PATCH] Removed explicit set of activation policy for application Bundle is used anyway but this method requires 10.6 or higher --- src/cocoa/i_backend_cocoa.mm | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/cocoa/i_backend_cocoa.mm b/src/cocoa/i_backend_cocoa.mm index 05ee3a06e9..b30ab1ff00 100644 --- a/src/cocoa/i_backend_cocoa.mm +++ b/src/cocoa/i_backend_cocoa.mm @@ -2108,10 +2108,6 @@ int main(int argc, char** argv) [NSApplication sharedApplication]; - // The following line isn't mandatory - // but it enables to run without application bundle - [NSApp setActivationPolicy:NSApplicationActivationPolicyRegular]; - CreateMenu(); appCtrl = [ApplicationController new];