Fix minimum size when pane status line is enabled, reported by Y Petremann.

This commit is contained in:
nicm
2016-08-03 09:07:02 +00:00
parent 9436a31603
commit f8cc48a43f
4 changed files with 75 additions and 56 deletions

View File

@ -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. */