Fix bugs with tiling floating panes.

This commit is contained in:
Michael Grant
2026-04-05 19:04:10 -04:00
parent 4232bf9e2f
commit 811604a663
5 changed files with 230 additions and 75 deletions

View File

@@ -143,6 +143,10 @@ cmd_minimise_pane_minimise(struct window *w, struct window_pane *wp)
{
struct window_pane *wp2;
/* Ignore if already minimised to prevent double-redistribution. */
if (wp->flags & PANE_MINIMISED)
return (CMD_RETURN_NORMAL);
wp->flags |= PANE_MINIMISED;
window_deactivate_pane(w, wp, 1);