Skip to content

Commit

Permalink
#2467 don't force x11 for opengl on wayland
Browse files Browse the repository at this point in the history
  • Loading branch information
totaam committed Oct 26, 2023
1 parent 49b4c00 commit 27b9263
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions xpra/scripts/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 27b9263

Please sign in to comment.