aboutsummaryrefslogtreecommitdiffstats
path: root/include/sway/config.h
diff options
context:
space:
mode:
authorLibravatar Jonathan Buch <jbuch@synyx.de>2018-09-25 10:22:50 +0200
committerLibravatar Jonathan Buch <jbuch@synyx.de>2018-10-03 16:23:12 +0200
commit298ccb539c5f9d538e49364f45e57ff0d88df717 (patch)
tree147027d52b22aaa2bae2257235d29d01d3f620a5 /include/sway/config.h
parentMerge pull request #2757 from RyanDwyer/check-focus-stack-empty (diff)
downloadsway-298ccb539c5f9d538e49364f45e57ff0d88df717.tar.gz
sway-298ccb539c5f9d538e49364f45e57ff0d88df717.tar.zst
sway-298ccb539c5f9d538e49364f45e57ff0d88df717.zip
Add configuration for raising containers on focus
* New configuration option: raise_floating (From the discussion on https://github.com/i3/i3/issues/2990) * By default, it still raises the window on focus, otherwise it will raise the window on click.
Diffstat (limited to 'include/sway/config.h')
-rw-r--r--include/sway/config.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/sway/config.h b/include/sway/config.h
index 98a18b76..02ace979 100644
--- a/include/sway/config.h
+++ b/include/sway/config.h
@@ -359,6 +359,7 @@ struct sway_config {
359 359
360 // Flags 360 // Flags
361 bool focus_follows_mouse; 361 bool focus_follows_mouse;
362 bool raise_floating;
362 bool mouse_warping; 363 bool mouse_warping;
363 enum focus_wrapping_mode focus_wrapping; 364 enum focus_wrapping_mode focus_wrapping;
364 bool active; 365 bool active;