diff options
author | 2019-04-18 21:15:33 +0200 | |
---|---|---|
committer | 2019-04-19 00:05:49 +0300 | |
commit | 5e925f06e0e2bb62ee777079bd8a076c290e3df9 (patch) | |
tree | 97a3b6f84151e993c7a7605edd1fd5e61aad44e0 /sway | |
parent | Add unbindsym/unbindcode command for swaybar (diff) | |
download | sway-5e925f06e0e2bb62ee777079bd8a076c290e3df9.tar.gz sway-5e925f06e0e2bb62ee777079bd8a076c290e3df9.tar.zst sway-5e925f06e0e2bb62ee777079bd8a076c290e3df9.zip |
hide_edge_borders.c: add missing case for --i3
Disable the i3-compatible behavior if the option '--i3' is not given.
Previously it was only possible to disable it by changing the config
file. Now it also works via swaymsg.
Diffstat (limited to 'sway')
-rw-r--r-- | sway/commands/hide_edge_borders.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sway/commands/hide_edge_borders.c b/sway/commands/hide_edge_borders.c index 6120a17f..ac439cc0 100644 --- a/sway/commands/hide_edge_borders.c +++ b/sway/commands/hide_edge_borders.c | |||
@@ -13,6 +13,8 @@ struct cmd_results *cmd_hide_edge_borders(int argc, char **argv) { | |||
13 | config->hide_lone_tab = true; | 13 | config->hide_lone_tab = true; |
14 | ++argv; | 14 | ++argv; |
15 | --argc; | 15 | --argc; |
16 | } else { | ||
17 | config->hide_lone_tab = false; | ||
16 | } | 18 | } |
17 | 19 | ||
18 | if (strcmp(argv[0], "none") == 0) { | 20 | if (strcmp(argv[0], "none") == 0) { |