Skip to content

Commit

Permalink
#2467 force 'egl' backend on Wayland
Browse files Browse the repository at this point in the history
  • Loading branch information
totaam committed Oct 27, 2023
1 parent 14685d1 commit 85b769c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions xpra/scripts/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 85b769c

Please sign in to comment.