mirror of
				https://github.com/libsdl-org/SDL.git
				synced 2025-10-26 12:27:44 +00:00 
			
		
		
		
	Fixed Steam Runtime sandbox detection
Fixes hotplug issues on Steam Deck for Proton and native games
This commit is contained in:
		| @@ -37,7 +37,7 @@ SDL_Sandbox SDL_DetectSandbox(void) | |||||||
|         return SDL_SANDBOX_SNAP; |         return SDL_SANDBOX_SNAP; | ||||||
|     } |     } | ||||||
|  |  | ||||||
|     if (access("/run/host/container-runtime", F_OK) == 0) { |     if (access("/run/host/container-manager", F_OK) == 0) { | ||||||
|         return SDL_SANDBOX_UNKNOWN_CONTAINER; |         return SDL_SANDBOX_UNKNOWN_CONTAINER; | ||||||
|     } |     } | ||||||
|  |  | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Sam Lantinga
					Sam Lantinga