aboutsummaryrefslogtreecommitdiff
path: root/include/sway
diff options
context:
space:
mode:
authorBrian Ashworth <bosrsf04@gmail.com>2019-08-15 03:00:14 -0400
committerDrew DeVault <sir@cmpwn.com>2019-08-20 11:34:34 +0900
commitff7d979d99ddb087a02fc457953b33e3beb4715b (patch)
tree142e0f92672c9c73b7770dea3a846fef0e8d4011 /include/sway
parent384afc5cb5000374414eeaec8cbb667451fcce5b (diff)
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')
-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 {
ALIGN_RIGHT
};
+enum xwayland_mode {
+ XWAYLAND_MODE_DISABLED,
+ XWAYLAND_MODE_LAZY,
+ XWAYLAND_MODE_IMMEADIATE
+};
+
/**
* The configuration struct. The result of loading a config file.
*/
@@ -464,7 +470,7 @@ struct sway_config {
size_t urgent_timeout;
enum sway_fowa focus_on_window_activation;
enum sway_popup_during_fullscreen popup_during_fullscreen;
- bool xwayland;
+ enum xwayland_mode xwayland;
// swaybg
char *swaybg_command;