Fix next-layout to ignore floating panes.

This commit is contained in:
Michael Grant
2026-03-24 12:41:04 +00:00
parent 0328fe44e4
commit f201d246fd
11 changed files with 74 additions and 33 deletions

View File

@@ -270,7 +270,8 @@ layout_fix_offsets1(struct layout_cell *lc)
} else {
yoff = lc->yoff;
TAILQ_FOREACH(lcchild, &lc->cells, entry) {
if (lcchild->wp->flags & PANE_MINIMISED)
if (lcchild->type == LAYOUT_WINDOWPANE &&
lcchild->wp->flags & PANE_MINIMISED)
continue;
lcchild->xoff = lc->xoff;
lcchild->yoff = yoff;