From f8cc48a43f1fd5fe082fde86b429c2cda5bcf1b0 Mon Sep 17 00:00:00 2001 From: nicm Date: Wed, 3 Aug 2016 09:07:02 +0000 Subject: Fix minimum size when pane status line is enabled, reported by Y Petremann. --- layout-custom.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'layout-custom.c') diff --git a/layout-custom.c b/layout-custom.c index c93e39c0..205e1fca 100644 --- a/layout-custom.c +++ b/layout-custom.c @@ -150,7 +150,7 @@ layout_parse(struct window *w, const char *layout) /* Fewer panes than cells - close the bottom right. */ lcchild = layout_find_bottomright(lc); - layout_destroy_cell(lcchild, &lc); + layout_destroy_cell(w, lcchild, &lc); } /* Save the old window size and resize to the layout size. */ -- cgit