mirror of
https://github.com/tmux/tmux.git
synced 2026-06-21 09:45:41 +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. */
|
/* 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);
|
||||||
|
|||||||
@@ -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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user