mirror of
				https://github.com/Ryujinx/SDL.git
				synced 2025-11-04 13:54:49 +00:00 
			
		
		
		
	SDL
- fix hint check, we want or not and
This commit is contained in:
		
							parent
							
								
									e93f90ae90
								
							
						
					
					
						commit
						0aa2a6df2c
					
				| 
						 | 
				
			
			@ -320,7 +320,7 @@ Cocoa_RegisterApp(void)
 | 
			
		|||
        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
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in a new issue