SDL
authorAlfred Reynolds <alfred@valvesoftware.com>
Fri, 31 Jul 2015 09:16:21 -0700
changeset 9822371d82c6bf94
parent 9821 c1d91866a968
child 9823 9fb8a612dd7c
SDL
- fix hint check, we want or not and
src/video/cocoa/SDL_cocoaevents.m
     1.1 --- a/src/video/cocoa/SDL_cocoaevents.m	Thu Jul 30 10:01:04 2015 -0700
     1.2 +++ b/src/video/cocoa/SDL_cocoaevents.m	Fri Jul 31 09:16:21 2015 -0700
     1.3 @@ -320,7 +320,7 @@
     1.4          SDL_assert(NSApp != nil);
     1.5  
     1.6          const char *hint = SDL_GetHint(SDL_HINT_MAC_BACKGROUND_APP);
     1.7 -		if (!hint && *hint != '0') {
     1.8 +		if (!hint || *hint != '0') {
     1.9  #if MAC_OS_X_VERSION_MIN_REQUIRED < MAC_OS_X_VERSION_10_6
    1.10  			if ([NSApp respondsToSelector:@selector(setActivationPolicy:)]) {
    1.11  #endif