mirror of
https://github.com/tmux/tmux.git
synced 2026-10-14 23:34:22 +00:00
Zoomed panes are now like full screen floating panes.
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user