mirror of
https://github.com/swaywm/sway.git
synced 2024-11-29 03:11:27 +00:00
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:
parent
35ddd9aab3
commit
5e925f06e0
|
@ -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) {
|
||||||
|
|
Loading…
Reference in a new issue