aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormwenzkowski <29407878+mwenzkowski@users.noreply.github.com>2019-04-18 21:15:33 +0200
committerSimon Ser <contact@emersion.fr>2019-04-19 00:05:49 +0300
commit5e925f06e0e2bb62ee777079bd8a076c290e3df9 (patch)
tree97a3b6f84151e993c7a7605edd1fd5e61aad44e0
parent35ddd9aab3c386345176d7ea1f5814f152ba16bd (diff)
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.
-rw-r--r--sway/commands/hide_edge_borders.c2
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) {
config->hide_lone_tab = true;
++argv;
--argc;
+ } else {
+ config->hide_lone_tab = false;
}
if (strcmp(argv[0], "none") == 0) {