mirror of
https://github.com/tmux/tmux.git
synced 2026-06-20 17:25:57 +00:00
Rename a function.
This commit is contained in:
@@ -354,7 +354,7 @@ screen_redraw_two_panes(struct window *w, enum layout_type *type)
|
||||
|
||||
/* Clear the cells covered by a floating pane. */
|
||||
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)
|
||||
{
|
||||
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. */
|
||||
static void
|
||||
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)
|
||||
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_borders(bctx, wp, sb_w, sb_left);
|
||||
screen_redraw_mark_pane_scrollbar(bctx, wp, sb_w, sb_left);
|
||||
|
||||
@@ -2097,11 +2097,11 @@ server_client_check_redraw(struct client *c)
|
||||
if (wp->flags & PANE_REDRAW) {
|
||||
log_debug("%s: redraw pane %%%u", __func__,
|
||||
wp->id);
|
||||
screen_redraw_pane(c, wp, 0);
|
||||
screen_redraw_pane(c, wp);
|
||||
} else if (wp->flags & PANE_REDRAWSCROLLBAR) {
|
||||
log_debug("%s: redraw scrollbar %%%u", __func__,
|
||||
wp->id);
|
||||
screen_redraw_pane(c, wp, 1);
|
||||
screen_redraw_pane_scrollbar(c, wp);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user