Bugfix fix redraw of overlapping floating panes.

This commit is contained in:
Michael Grant
2025-10-23 18:05:04 +01:00
parent e3b7bf9b31
commit 8db76e9057
2 changed files with 13 additions and 3 deletions

View File

@@ -745,7 +745,7 @@ window_add_pane(struct window *w, struct window_pane *other, u_int hlimit,
TAILQ_INSERT_BEFORE(other, wp, entry);
} else {
log_debug("%s: @%u after %%%u", __func__, w->id, wp->id);
if (flags & SPAWN_FULLSIZE)
if (flags & SPAWN_FULLSIZE|SPAWN_FLOATING)
TAILQ_INSERT_TAIL(&w->panes, wp, entry);
else
TAILQ_INSERT_AFTER(&w->panes, other, wp, entry);