Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Michael Grant
2026-10-01 08:13:16 +01:00
parent 7f84dfd3c7
commit 033c6ecb9f
5 changed files with 59 additions and 60 deletions

View File

@@ -147,12 +147,6 @@ window_panes_add_area(struct window_panes_modedata *data,
area->sy = sy;
}
static int
window_panes_pane_floating(struct window_pane *wp)
{
return (window_pane_is_floating(wp));
}
static int
window_panes_get_geometry(struct window_pane *wp, struct layout_cell *root,
u_int osx, u_int osy, u_int dsx, u_int dsy, u_int *xp, u_int *yp,
@@ -827,14 +821,14 @@ window_panes_draw_screen(struct window_mode_entry *wme)
screen_write_start(&ctx, &data->screen);
screen_write_clearscreen(&ctx, 8);
TAILQ_FOREACH(wp, &w->panes, entry) {
if (window_panes_pane_floating(wp))
if (window_pane_is_floating(wp))
continue;
window_panes_draw_pane(data, &ctx, wp, root, osx, osy, sx, sy);
}
window_panes_get_border_cell(data, &border_gc);
window_panes_draw_borders(&ctx, w, root, &border_gc, osx, osy, sx, sy);
TAILQ_FOREACH_REVERSE(wp, &w->z_index, window_panes_zindex, zentry) {
if (!window_panes_pane_floating(wp))
if (!window_pane_is_floating(wp))
continue;
window_panes_clear_floating_area(&ctx, wp, osx, osy, sx, sy);
window_panes_draw_pane(data, &ctx, wp, root, osx, osy, sx, sy);