diff options
author | Jonathan Buch <jbuch@synyx.de> | 2018-09-25 10:22:50 +0200 |
---|---|---|
committer | Jonathan Buch <jbuch@synyx.de> | 2018-10-03 16:23:12 +0200 |
commit | 298ccb539c5f9d538e49364f45e57ff0d88df717 (patch) | |
tree | 147027d52b22aaa2bae2257235d29d01d3f620a5 /sway/commands.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/commands.c')
-rw-r--r-- | sway/commands.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sway/commands.c b/sway/commands.c index 72db8ab9..5dd27f7e 100644 --- a/sway/commands.c +++ b/sway/commands.c | |||
@@ -107,6 +107,7 @@ static struct cmd_handler handlers[] = { | |||
107 | { "new_window", cmd_default_border }, | 107 | { "new_window", cmd_default_border }, |
108 | { "no_focus", cmd_no_focus }, | 108 | { "no_focus", cmd_no_focus }, |
109 | { "output", cmd_output }, | 109 | { "output", cmd_output }, |
110 | { "raise_floating", cmd_raise_floating }, | ||
110 | { "seat", cmd_seat }, | 111 | { "seat", cmd_seat }, |
111 | { "set", cmd_set }, | 112 | { "set", cmd_set }, |
112 | { "show_marks", cmd_show_marks }, | 113 | { "show_marks", cmd_show_marks }, |