Skip to content

Commit

Permalink
only enable gtk error context with x11 Gdk backend
Browse files Browse the repository at this point in the history
  • Loading branch information
totaam committed Jul 24, 2024
1 parent 1f7f9e3 commit 161acb2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion xpra/server/window/window_source.py
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ def get_env_encodings(etype:str, valid_options:Iterable[str]=()) -> Tuple[str,..


ui_context : ContextManager = DummyContextManager()
if POSIX and not OSX:
if POSIX and not OSX and not envbool("XPRA_NOX11", False) and os.environ.get("GDK_BACKEND", "x11") == "x11":
from xpra.gtk_common.error import xlog
ui_context = xlog

Expand Down

0 comments on commit 161acb2

Please sign in to comment.