# HG changeset patch # User Alfred Reynolds # Date 1438359381 25200 # Node ID 371d82c6bf946d5d874b3cddd235395232459929 # Parent c1d91866a968359f601670c7ba7105998fa339ba SDL - fix hint check, we want or not and diff -r c1d91866a968 -r 371d82c6bf94 src/video/cocoa/SDL_cocoaevents.m --- a/src/video/cocoa/SDL_cocoaevents.m Thu Jul 30 10:01:04 2015 -0700 +++ b/src/video/cocoa/SDL_cocoaevents.m Fri Jul 31 09:16:21 2015 -0700 @@ -320,7 +320,7 @@ SDL_assert(NSApp != nil); const char *hint = SDL_GetHint(SDL_HINT_MAC_BACKGROUND_APP); - if (!hint && *hint != '0') { + if (!hint || *hint != '0') { #if MAC_OS_X_VERSION_MIN_REQUIRED < MAC_OS_X_VERSION_10_6 if ([NSApp respondsToSelector:@selector(setActivationPolicy:)]) { #endif