Merge branch 'floating_panes' into floating_panes_staging

This commit is contained in:
Nicholas Marriott
2026-05-24 10:06:33 +01:00
7 changed files with 380 additions and 92 deletions

View File

@@ -347,10 +347,8 @@ window_destroy(struct window *w)
window_unzoom(w, 0);
RB_REMOVE(windows, &windows, w);
if (w->layout_root != NULL)
layout_free_cell(w->layout_root);
if (w->saved_layout_root != NULL)
layout_free_cell(w->saved_layout_root);
layout_free_cell(w->layout_root);
layout_free_cell(w->saved_layout_root);
free(w->old_layout);
window_destroy_panes(w);