Explorar el Código

Avalonia: only enable gamescope workaround under it (#6374)

Signed-off-by: Mary Guillemard <mary@mary.zone>
Mary Guillemard hace 2 años
padre
commit
53b5985da6
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      src/Ryujinx.Ava/Program.cs

+ 1 - 1
src/Ryujinx.Ava/Program.cs

@@ -59,7 +59,7 @@ namespace Ryujinx.Ava
                 {
                     EnableMultiTouch = true,
                     EnableIme = true,
-                    EnableInputFocusProxy = true,
+                    EnableInputFocusProxy = Environment.GetEnvironmentVariable("XDG_CURRENT_DESKTOP") == "gamescope",
                     RenderingMode = new[] { X11RenderingMode.Glx, X11RenderingMode.Software },
                 })
                 .With(new Win32PlatformOptions