Zoomed panes are now like full screen floating panes.

This commit is contained in:
Michael Grant
2026-09-30 23:10:40 +01:00
parent 5a820e63b7
commit 7810f8abf3
29 changed files with 752 additions and 621 deletions

View File

@@ -103,7 +103,7 @@ window_visible_ranges(struct window_pane *base_wp, int px, int py, u_int width,
continue;
}
if (window_pane_is_floating(wp) &&
if (window_pane_is_unzoomed_float(wp) &&
window_pane_get_pane_lines(wp) == PANE_LINES_NONE)
no_border = 1;
else
@@ -120,7 +120,8 @@ window_visible_ranges(struct window_pane *base_wp, int px, int py, u_int width,
py < tb ||
py > bb)
continue;
if (!window_pane_is_floating(wp) && (py == tb || py == bb))
if (!window_pane_is_unzoomed_float(wp) &&
(py == tb || py == bb))
continue;
sb_w = wp->scrollbar_style.width + wp->scrollbar_style.pad;