SDL: Fixed Steam Runtime sandbox detection

From bcd97b36d23d08226e98a995eafd3d6aa35401b4 Mon Sep 17 00:00:00 2001
From: Sam Lantinga <[EMAIL REDACTED]>
Date: Wed, 15 Feb 2023 13:53:57 -0800
Subject: [PATCH] Fixed Steam Runtime sandbox detection

Fixes hotplug issues on Steam Deck for Proton and native games
---
 src/core/linux/SDL_sandbox.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/core/linux/SDL_sandbox.c b/src/core/linux/SDL_sandbox.c
index f35ed7c2c4bd..f0e0cb79e9ea 100644
--- a/src/core/linux/SDL_sandbox.c
+++ b/src/core/linux/SDL_sandbox.c
@@ -37,7 +37,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;
     }