src/video/cocoa/SDL_cocoaevents.m
changeset 12201 8bdc4d340419
parent 11811 5d94cb6b24d3
child 12468 209066a82aef
equal deleted inserted replaced
12200:c0b17b32b95e 12201:8bdc4d340419
   388 
   388 
   389         s_bShouldHandleEventsInSDLApplication = SDL_TRUE;
   389         s_bShouldHandleEventsInSDLApplication = SDL_TRUE;
   390 
   390 
   391         if (!SDL_GetHintBoolean(SDL_HINT_MAC_BACKGROUND_APP, SDL_FALSE)) {
   391         if (!SDL_GetHintBoolean(SDL_HINT_MAC_BACKGROUND_APP, SDL_FALSE)) {
   392             [NSApp setActivationPolicy:NSApplicationActivationPolicyRegular];
   392             [NSApp setActivationPolicy:NSApplicationActivationPolicyRegular];
   393 		}
   393         }
   394 		
   394 
   395         if ([NSApp mainMenu] == nil) {
   395         if ([NSApp mainMenu] == nil) {
   396             CreateApplicationMenus();
   396             CreateApplicationMenus();
   397         }
   397         }
   398         [NSApp finishLaunching];
   398         [NSApp finishLaunching];
   399         if ([NSApp delegate]) {
   399         if ([NSApp delegate]) {