mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-03-19 15:08:18 +00:00
Fixed Steam Runtime sandbox detection
Fixes hotplug issues on Steam Deck for Proton and native games (cherry picked from commitbcd97b36d2) (cherry picked from commite7376b7b74)
This commit is contained in:
@@ -39,7 +39,7 @@ SDL_Sandbox SDL_DetectSandbox(void)
|
||||
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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user