Merge branch 'master' into floating_panes

This commit is contained in:
Dane Jensen
2026-07-01 14:37:05 -07:00
33 changed files with 688 additions and 398 deletions

View File

@@ -357,8 +357,8 @@ window_destroy(struct window *w)
window_unzoom(w, 0);
RB_REMOVE(windows, &windows, w);
layout_free_cell(w->layout_root);
layout_free_cell(w->saved_layout_root);
layout_free_cell(w->layout_root, 0);
layout_free_cell(w->saved_layout_root, 0);
free(w->old_layout);
window_destroy_panes(w);
@@ -795,7 +795,7 @@ window_unzoom(struct window *w, int notify)
return (-1);
w->flags &= ~WINDOW_ZOOMED;
layout_free(w);
layout_free(w, 0);
w->layout_root = w->saved_layout_root;
w->saved_layout_root = NULL;
@@ -1238,6 +1238,7 @@ window_pane_destroy(struct window_pane *wp)
window_pane_clear_prompt(wp);
window_pane_free_modes(wp);
screen_write_clear_dirty(wp);
free(wp->searchstr);
if (wp->fd != -1) {