From 0c8fa9f0b2402617c0107ebfa42f06b210a5d2e4 Mon Sep 17 00:00:00 2001 From: RMED24 <81475204+RMED24@users.noreply.github.com> Date: Mon, 5 Dec 2022 08:42:42 +0000 Subject: [PATCH] Update Program.cs --- Ryujinx/Program.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Ryujinx/Program.cs b/Ryujinx/Program.cs index ee1fecd96..0f7176dfd 100644 --- a/Ryujinx/Program.cs +++ b/Ryujinx/Program.cs @@ -102,7 +102,7 @@ namespace Ryujinx if (OperatingSystem.IsLinux()) { XInitThreads(); - Environment.SetEnvironmentVariable("GDK_BACKEND", "x11"); + setenv(GDK_BACKEND, x11, 1); } if (OperatingSystem.IsMacOS()) @@ -337,4 +337,4 @@ namespace Ryujinx Logger.Shutdown(); } } -} +} \ No newline at end of file