Move the PANE_FLOATING flag into the layout cell and add an accessor.

From Dane Jensen.
This commit is contained in:
nicm
2026-06-02 08:13:50 +00:00
parent 35f4c8b333
commit ae6a749d3a
14 changed files with 69 additions and 52 deletions

View File

@@ -282,6 +282,8 @@ spawn_pane(struct spawn_context *sc, char **cause)
else
layout_assign_pane(sc->lc, new_wp, 0);
}
if (sc->flags & SPAWN_FLOATING)
new_wp->layout_cell->flags |= LAYOUT_CELL_FLOATING;
/*
* If window currently zoomed, window_set_active_pane calls