Skip to content

Commit

Permalink
#3070 add 'xsettings'
Browse files Browse the repository at this point in the history
  • Loading branch information
totaam committed May 12, 2021
1 parent ee6f2a4 commit fdb6b5c
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion xpra/gtk_common/start_gui.py
Expand Up @@ -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,
Expand Down Expand Up @@ -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


Expand Down Expand Up @@ -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()


Expand Down

0 comments on commit fdb6b5c

Please sign in to comment.