mirror of
https://github.com/tmux/tmux.git
synced 2024-11-10 13:48:48 +00:00
Initialize the size of new panes created by the even-* layout correctly;
reported by Andreas Kahari and Anton Lindqvist.
This commit is contained in:
parent
299c552e33
commit
c9896d9554
@ -138,6 +138,8 @@ layout_set_even(struct window *w, enum layout_type type)
|
||||
TAILQ_FOREACH(wp, &w->panes, entry) {
|
||||
lcnew = layout_create_cell(lc);
|
||||
layout_make_leaf(lcnew, wp);
|
||||
lcnew->sx = w->sx;
|
||||
lcnew->sy = w->sy;
|
||||
TAILQ_INSERT_TAIL(&lc->cells, lcnew, entry);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user