Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
SDL
- fix hint check, we want or not and
- Loading branch information
Showing
with
1 addition
and
1 deletion.
-
+1
−1
src/video/cocoa/SDL_cocoaevents.m
|
@@ -320,7 +320,7 @@ - (BOOL)application:(NSApplication *)theApplication openFile:(NSString *)filenam |
|
|
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 |
|
|
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session.
You signed out in another tab or window. Reload to refresh your session.