Pārlūkot izejas kodu

Fixed Steam Runtime sandbox detection

Fixes hotplug issues on Steam Deck for Proton and native games

(cherry picked from commit bcd97b36d23d08226e98a995eafd3d6aa35401b4)
(cherry picked from commit e7376b7b74026d7da041d2c848e99c9f7f4d74c0)
Sam Lantinga 2 gadi atpakaļ
vecāks
revīzija
6edc0100e1
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. 1 1
      src/core/linux/SDL_sandbox.c

+ 1 - 1
src/core/linux/SDL_sandbox.c

@@ -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;
     }