From fdb6b5c307aecc69251ee89669763275c24ba099 Mon Sep 17 00:00:00 2001 From: totaam Date: Wed, 12 May 2021 22:44:53 +0700 Subject: [PATCH] #3070 add 'xsettings' --- xpra/gtk_common/start_gui.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/xpra/gtk_common/start_gui.py b/xpra/gtk_common/start_gui.py index 6bdf8945f2..df58aaedc1 100644 --- a/xpra/gtk_common/start_gui.py +++ b/xpra/gtk_common/start_gui.py @@ -18,7 +18,7 @@ TableBuilder, ) from xpra.util import repr_ellipsized -from xpra.os_util import POSIX, OSX, WIN32, platform_name +from xpra.os_util import POSIX, OSX, WIN32, is_Wayland, platform_name from xpra.simple_stats import std_unit_dec from xpra.scripts.config import ( get_defaults, parse_bool, @@ -323,6 +323,7 @@ def set_options(self, options): #so they won't trigger "changes" messages later #- we don't show "auto" as an option, convert to either true or false: options.splash = (str(options.splash) or "").lower() not in FALSE_OPTIONS + options.xsettings = (str(options.xsettings) or "").lower() not in FALSE_OPTIONS self.session_options = options @@ -908,6 +909,8 @@ def populate_form(self): "to-client" : "to client only", "disabled" : "disabled", }) + if POSIX and not OSX and not is_Wayland(): + self.bool_cb(tb, "XSettings", "xsettings") self.vbox.show_all()