From 27b9263bb054cb7badb11ae90db5681f722beead Mon Sep 17 00:00:00 2001 From: totaam Date: Thu, 26 Oct 2023 22:48:11 +0700 Subject: [PATCH] #2467 don't force x11 for opengl on wayland --- xpra/scripts/main.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/xpra/scripts/main.py b/xpra/scripts/main.py index 05249471ac..b22f3d0de9 100755 --- a/xpra/scripts/main.py +++ b/xpra/scripts/main.py @@ -34,7 +34,7 @@ OSEnvContext, set_proc_title, gi_import, is_systemd_pid1, - WIN32, OSX, POSIX, SIGNAMES, is_Ubuntu, stderr_print, + WIN32, OSX, POSIX, SIGNAMES, is_Ubuntu, is_Wayland, stderr_print, ) from xpra.scripts.parsing import ( info, warn, error, @@ -2450,7 +2450,7 @@ def do_run_glcheck(opts, show=False) -> dict[str,Any]: def run_glcheck(opts) -> ExitValue: log = Logger("opengl") - if POSIX and not OSX: + if POSIX and not OSX and not is_Wayland(): with OSEnvContext(GDK_BACKEND="x11", PYOPENGL_BACKEND="x11"): try: from xpra.x11.gtk3.display_source import init_gdk_display_source