Merge branch 'master' into floating_panes

This commit is contained in:
Nicholas Marriott
2026-05-19 13:05:14 +01:00
7 changed files with 115 additions and 55 deletions

View File

@@ -289,9 +289,9 @@ layout_parse(struct window *w, const char *layout, char **cause)
if (floating_lc != NULL)
layout_assign(&wp, floating_lc, PANE_FLOATING);
/* Fix z indexes. */
while (!TAILQ_EMPTY(&w->z_index)) {
wp = TAILQ_FIRST(&w->z_index);
/* Fix pane Z indexes. */
while (!TAILQ_EMPTY(&w->z_index)) {
wp = TAILQ_FIRST(&w->z_index);
TAILQ_REMOVE(&w->z_index, wp, zentry);
}
if (floating_lc != NULL)