diff options
author | Ryan Dwyer <ryandwyer1@gmail.com> | 2018-09-04 08:40:23 +1000 |
---|---|---|
committer | Ryan Dwyer <ryandwyer1@gmail.com> | 2018-09-05 18:01:43 +1000 |
commit | 27d2d37d6e7a392aad96da81f12276af5667aa32 (patch) | |
tree | 4a58ca548f543d87d6ed83c52e10c101ad547c82 /sway/commands | |
parent | c0da364865bb08bfb464c22eefd87a260a07cc97 (diff) |
Fix crash when running layout toggle split
Diffstat (limited to 'sway/commands')
-rw-r--r-- | sway/commands/layout.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/sway/commands/layout.c b/sway/commands/layout.c index 8fa1ce98..44ce2970 100644 --- a/sway/commands/layout.c +++ b/sway/commands/layout.c @@ -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); } |