reported by Andreas Kahari and Anton Lindqvist.
-/* $OpenBSD: layout-set.c,v 1.19 2017/11/15 19:59:27 nicm Exp $ */
+/* $OpenBSD: layout-set.c,v 1.20 2017/12/31 20:00:44 nicm Exp $ */
/*
* Copyright (c) 2009 Nicholas Marriott <nicholas.marriott@gmail.com>
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);
}