aboutsummaryrefslogtreecommitdiffstats
path: root/include/sway/config.h
diff options
context:
space:
mode:
authorLibravatar Brian Ashworth <bosrsf04@gmail.com>2019-08-15 03:00:14 -0400
committerLibravatar Drew DeVault <sir@cmpwn.com>2019-08-20 11:34:34 +0900
commitff7d979d99ddb087a02fc457953b33e3beb4715b (patch)
tree142e0f92672c9c73b7770dea3a846fef0e8d4011 /include/sway/config.h
parentinput/keyboard: send released only if pressed sent (diff)
downloadsway-ff7d979d99ddb087a02fc457953b33e3beb4715b.tar.gz
sway-ff7d979d99ddb087a02fc457953b33e3beb4715b.tar.zst
sway-ff7d979d99ddb087a02fc457953b33e3beb4715b.zip
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
Diffstat (limited to 'include/sway/config.h')
-rw-r--r--include/sway/config.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/include/sway/config.h b/include/sway/config.h
index c65d9353..ae6e6750 100644
--- a/include/sway/config.h
+++ b/include/sway/config.h
@@ -424,6 +424,12 @@ enum alignment {
424 ALIGN_RIGHT 424 ALIGN_RIGHT
425}; 425};
426 426
427enum xwayland_mode {
428 XWAYLAND_MODE_DISABLED,
429 XWAYLAND_MODE_LAZY,
430 XWAYLAND_MODE_IMMEADIATE
431};
432
427/** 433/**
428 * The configuration struct. The result of loading a config file. 434 * The configuration struct. The result of loading a config file.
429 */ 435 */
@@ -464,7 +470,7 @@ struct sway_config {
464 size_t urgent_timeout; 470 size_t urgent_timeout;
465 enum sway_fowa focus_on_window_activation; 471 enum sway_fowa focus_on_window_activation;
466 enum sway_popup_during_fullscreen popup_during_fullscreen; 472 enum sway_popup_during_fullscreen popup_during_fullscreen;
467 bool xwayland; 473 enum xwayland_mode xwayland;
468 474
469 // swaybg 475 // swaybg
470 char *swaybg_command; 476 char *swaybg_command;