Rename a function.

This commit is contained in:
Nicholas Marriott
2026-06-17 18:09:50 +01:00
parent 1965a06b56
commit 62a27248bd
2 changed files with 4 additions and 5 deletions

View File

@@ -354,7 +354,7 @@ screen_redraw_two_panes(struct window *w, enum layout_type *type)
/* Clear the cells covered by a floating pane. */ /* Clear the cells covered by a floating pane. */
static void static void
screen_redraw_clear_floating_pane(struct redraw_build_ctx *bctx, screen_redraw_reset_floating_pane_cells(struct redraw_build_ctx *bctx,
struct window_pane *wp, int sb_w, int sb_left) struct window_pane *wp, int sb_w, int sb_left)
{ {
enum pane_lines pane_lines; enum pane_lines pane_lines;
@@ -535,7 +535,6 @@ screen_redraw_mark_border_status(struct redraw_build_ctx *bctx,
} }
} }
/* Mark where indicator arrows will go, if enabled. */ /* Mark where indicator arrows will go, if enabled. */
static void static void
screen_redraw_mark_border_arrows(struct redraw_build_ctx *bctx, screen_redraw_mark_border_arrows(struct redraw_build_ctx *bctx,
@@ -683,7 +682,7 @@ screen_redraw_mark_pane(struct redraw_build_ctx *bctx, struct window_pane *wp)
if (sb_w != 0 && bctx->sbp == PANE_SCROLLBARS_LEFT) if (sb_w != 0 && bctx->sbp == PANE_SCROLLBARS_LEFT)
sb_left = 1; sb_left = 1;
screen_redraw_clear_floating_pane(bctx, wp, sb_w, sb_left); screen_redraw_reset_floating_pane_cells(bctx, wp, sb_w, sb_left);
screen_redraw_mark_pane_inside(bctx, wp); screen_redraw_mark_pane_inside(bctx, wp);
screen_redraw_mark_pane_borders(bctx, wp, sb_w, sb_left); screen_redraw_mark_pane_borders(bctx, wp, sb_w, sb_left);
screen_redraw_mark_pane_scrollbar(bctx, wp, sb_w, sb_left); screen_redraw_mark_pane_scrollbar(bctx, wp, sb_w, sb_left);

View File

@@ -2097,11 +2097,11 @@ server_client_check_redraw(struct client *c)
if (wp->flags & PANE_REDRAW) { if (wp->flags & PANE_REDRAW) {
log_debug("%s: redraw pane %%%u", __func__, log_debug("%s: redraw pane %%%u", __func__,
wp->id); wp->id);
screen_redraw_pane(c, wp, 0); screen_redraw_pane(c, wp);
} else if (wp->flags & PANE_REDRAWSCROLLBAR) { } else if (wp->flags & PANE_REDRAWSCROLLBAR) {
log_debug("%s: redraw scrollbar %%%u", __func__, log_debug("%s: redraw scrollbar %%%u", __func__,
wp->id); wp->id);
screen_redraw_pane(c, wp, 1); screen_redraw_pane_scrollbar(c, wp);
} }
} }
} }