Change layout sets to build the layout using the new mechanics, from

Dane Jensen.
This commit is contained in:
nicm
2026-07-01 16:43:14 +00:00
parent 565db46a19
commit 824ef37f5f
6 changed files with 178 additions and 192 deletions

View File

@@ -106,7 +106,7 @@ spawn_window(struct spawn_context *sc, char **cause)
sc->wp0 = TAILQ_FIRST(&w->panes);
TAILQ_REMOVE(&w->panes, sc->wp0, entry);
layout_free(w);
layout_free(w, 0);
window_destroy_panes(w);
TAILQ_INSERT_HEAD(&w->panes, sc->wp0, entry);