Merge branch 'obsd-master'

This commit is contained in:
Thomas Adam
2026-07-01 17:52:07 +01:00
8 changed files with 326 additions and 234 deletions

View File

@@ -104,7 +104,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);