summaryrefslogtreecommitdiffstats
path: root/layout-custom.c
diff options
context:
space:
mode:
authornicm <nicm>2016-08-03 09:07:02 +0000
committernicm <nicm>2016-08-03 09:07:02 +0000
commitf8cc48a43f1fd5fe082fde86b429c2cda5bcf1b0 (patch)
tree01924b8a29b0cf1ca69e6bfea1d85c789841d8db /layout-custom.c
parent9436a316038d1d1c9bc161d282564ed67e2f8ce2 (diff)
Fix minimum size when pane status line is enabled, reported by Y Petremann.
Diffstat (limited to 'layout-custom.c')
-rw-r--r--layout-custom.c2
1 files changed, 1 insertions, 1 deletions
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. */