aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-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;