From 5e925f06e0e2bb62ee777079bd8a076c290e3df9 Mon Sep 17 00:00:00 2001 From: mwenzkowski <29407878+mwenzkowski@users.noreply.github.com> Date: Thu, 18 Apr 2019 21:15:33 +0200 Subject: [PATCH] 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. --- sway/commands/hide_edge_borders.c | 2 ++ 1 file changed, 2 insertions(+) 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) {