From 27d2d37d6e7a392aad96da81f12276af5667aa32 Mon Sep 17 00:00:00 2001 From: Ryan Dwyer Date: Tue, 4 Sep 2018 08:40:23 +1000 Subject: Fix crash when running layout toggle split --- sway/commands/layout.c | 1 - 1 file changed, 1 deletion(-) (limited to 'sway/commands') 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); } -- cgit v1.2.3