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.
This commit is contained in:
mwenzkowski 2019-04-18 21:15:33 +02:00 committed by Simon Ser
parent 35ddd9aab3
commit 5e925f06e0

View file

@ -13,6 +13,8 @@ struct cmd_results *cmd_hide_edge_borders(int argc, char **argv) {
config->hide_lone_tab = true; config->hide_lone_tab = true;
++argv; ++argv;
--argc; --argc;
} else {
config->hide_lone_tab = false;
} }
if (strcmp(argv[0], "none") == 0) { if (strcmp(argv[0], "none") == 0) {