From c9896d9554b1d431f83ac06307451bd79fab03d8 Mon Sep 17 00:00:00 2001 From: nicm Date: Sun, 31 Dec 2017 20:00:44 +0000 Subject: Initialize the size of new panes created by the even-* layout correctly; reported by Andreas Kahari and Anton Lindqvist. --- layout-set.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'layout-set.c') diff --git a/layout-set.c b/layout-set.c index 0f01cbcc..5055f672 100644 --- a/layout-set.c +++ b/layout-set.c @@ -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); } -- cgit v1.2.3