aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sway/config.c1
-rw-r--r--sway/sway.5.scd2
2 files changed, 2 insertions, 1 deletions
diff --git a/sway/config.c b/sway/config.c
index c20625cf..b94887a7 100644
--- a/sway/config.c
+++ b/sway/config.c
@@ -241,6 +241,7 @@ static void config_defaults(struct sway_config *config) {
241 if (!(config->font = strdup("monospace 10"))) goto cleanup; 241 if (!(config->font = strdup("monospace 10"))) goto cleanup;
242 config->font_height = 17; // height of monospace 10 242 config->font_height = 17; // height of monospace 10
243 config->urgent_timeout = 500; 243 config->urgent_timeout = 500;
244 config->focus_on_window_activation = FOWA_URGENT;
244 config->popup_during_fullscreen = POPUP_SMART; 245 config->popup_during_fullscreen = POPUP_SMART;
245 config->xwayland = XWAYLAND_MODE_LAZY; 246 config->xwayland = XWAYLAND_MODE_LAZY;
246 247
diff --git a/sway/sway.5.scd b/sway/sway.5.scd
index 1663033c..c9daba5d 100644
--- a/sway/sway.5.scd
+++ b/sway/sway.5.scd
@@ -580,7 +580,7 @@ The default colors are:
580 window activation. If set to _urgent_, the urgent state will be set 580 window activation. If set to _urgent_, the urgent state will be set
581 for that window. If set to _focus_, the window will become focused. 581 for that window. If set to _focus_, the window will become focused.
582 If set to _smart_, the window will become focused only if it is already 582 If set to _smart_, the window will become focused only if it is already
583 visible, otherwise the urgent state will be set. Default is _smart_. 583 visible, otherwise the urgent state will be set. Default is _urgent_.
584 584
585*focus_wrapping* yes|no|force|workspace 585*focus_wrapping* yes|no|force|workspace
586 This option determines what to do when attempting to focus over the edge 586 This option determines what to do when attempting to focus over the edge