aboutsummaryrefslogtreecommitdiff
path: root/sway/commands.c
diff options
context:
space:
mode:
authorJonathan Buch <jbuch@synyx.de>2018-09-25 10:22:50 +0200
committerJonathan Buch <jbuch@synyx.de>2018-10-03 16:23:12 +0200
commit298ccb539c5f9d538e49364f45e57ff0d88df717 (patch)
tree147027d52b22aaa2bae2257235d29d01d3f620a5 /sway/commands.c
parent01b8e171b8dd2dbdda1b1a652c39022602cd9dfb (diff)
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.c1
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[] = {
{ "new_window", cmd_default_border },
{ "no_focus", cmd_no_focus },
{ "output", cmd_output },
+ { "raise_floating", cmd_raise_floating },
{ "seat", cmd_seat },
{ "set", cmd_set },
{ "show_marks", cmd_show_marks },