diff options
author | 2018-09-25 10:22:50 +0200 | |
---|---|---|
committer | 2018-10-03 16:23:12 +0200 | |
commit | 298ccb539c5f9d538e49364f45e57ff0d88df717 (patch) | |
tree | 147027d52b22aaa2bae2257235d29d01d3f620a5 /sway/config.c | |
parent | Merge pull request #2757 from RyanDwyer/check-focus-stack-empty (diff) | |
download | sway-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 'sway/config.c')
-rw-r--r-- | sway/config.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sway/config.c b/sway/config.c index 048b57de..b56c4f71 100644 --- a/sway/config.c +++ b/sway/config.c | |||
@@ -221,6 +221,7 @@ static void config_defaults(struct sway_config *config) { | |||
221 | 221 | ||
222 | // Flags | 222 | // Flags |
223 | config->focus_follows_mouse = true; | 223 | config->focus_follows_mouse = true; |
224 | config->raise_floating = true; | ||
224 | config->mouse_warping = true; | 225 | config->mouse_warping = true; |
225 | config->focus_wrapping = WRAP_YES; | 226 | config->focus_wrapping = WRAP_YES; |
226 | config->validating = false; | 227 | config->validating = false; |