Use a stack for last panes line windows, from Thomas Bertschinger in

GitHub issue 3588.
This commit is contained in:
nicm
2023-07-10 09:24:53 +00:00
parent b7e22d00b4
commit 8b3e2eab5a
7 changed files with 59 additions and 26 deletions

View File

@ -115,6 +115,7 @@ spawn_window(struct spawn_context *sc, char **cause)
window_pane_resize(sc->wp0, w->sx, w->sy);
layout_init(w, sc->wp0);
w->active = NULL;
window_set_active_pane(w, sc->wp0, 0);
}