From 85b769c7b22fca74dc9051a480a2f0260ce39e03 Mon Sep 17 00:00:00 2001 From: totaam Date: Fri, 27 Oct 2023 20:34:21 +0700 Subject: [PATCH] #2467 force 'egl' backend on Wayland --- xpra/scripts/main.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/xpra/scripts/main.py b/xpra/scripts/main.py index e4b47f1d4b..985a8998b6 100755 --- a/xpra/scripts/main.py +++ b/xpra/scripts/main.py @@ -300,6 +300,8 @@ def check_gtk_client() -> None: if isX11() and not isxwayland(): os.environ["GDK_BACKEND"] = "x11" os.environ["PYOPENGL_PLATFORM"] = "x11" + if is_Wayland() and not os.environ.get("PYOPENGL_PLATFORM", ""): + os.environ["PYOPENGL_PLATFORM"] = "egl" check_gtk() try: from xpra.client import gui, gtk3