Fixed vestigal compile errors

This commit is contained in:
Dane Jensen
2026-06-03 17:46:29 -07:00
parent 90ede52728
commit 7c908bca7a
5 changed files with 18 additions and 23 deletions

View File

@@ -730,7 +730,7 @@ window_zoom(struct window_pane *wp)
wp1->flags &= ~PANE_HIDDEN;
continue;
}
if (wp1->flags & PANE_FLOATING) {
if (window_pane_is_floating(wp1)) {
wp1->saved_flags |= (wp1->flags & PANE_HIDDEN);
wp1->flags |= PANE_HIDDEN;
continue;
@@ -765,7 +765,7 @@ window_unzoom(struct window *w, int notify)
w->saved_layout_root = NULL;
TAILQ_FOREACH(wp, &w->z_index, zentry) {
if (wp->flags & PANE_FLOATING) {
if (window_pane_is_floating(wp)) {
wp->flags &= ~PANE_HIDDEN | (wp->saved_flags & PANE_HIDDEN);
continue;
}