summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--layout-set.c2
1 files changed, 2 insertions, 0 deletions
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);
}