From ff7d979d99ddb087a02fc457953b33e3beb4715b Mon Sep 17 00:00:00 2001 From: Brian Ashworth Date: Thu, 15 Aug 2019 03:00:14 -0400 Subject: cmd_xwayland: add force for immediate launch This just adds a force option to cmd_xwayland that allows for xwayland to be immediately launched instead of lazily launched. This is useful for slower machines so it can be part of the startup time instead of when the user is actively trying to use it --- sway/config.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sway/config.c') diff --git a/sway/config.c b/sway/config.c index 74080898..c1b0efa0 100644 --- a/sway/config.c +++ b/sway/config.c @@ -248,7 +248,7 @@ static void config_defaults(struct sway_config *config) { config->font_height = 17; // height of monospace 10 config->urgent_timeout = 500; config->popup_during_fullscreen = POPUP_SMART; - config->xwayland = true; + config->xwayland = XWAYLAND_MODE_LAZY; config->titlebar_border_thickness = 1; config->titlebar_h_padding = 5; -- cgit v1.2.3-54-g00ecf