mirror of
https://github.com/swaywm/sway.git
synced 2024-11-26 18:01:29 +00:00
Fix crash when running layout toggle split
This commit is contained in:
parent
c0da364865
commit
27d2d37d6e
|
@ -88,7 +88,6 @@ static enum sway_container_layout get_layout(int argc, char **argv,
|
|||
}
|
||||
|
||||
if (strcasecmp(argv[0], "toggle") == 0) {
|
||||
argc--; argv++;
|
||||
return get_layout_toggle(argc, argv, layout, prev_split_layout);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue