Add a temporary var.

This commit is contained in:
nicm
2026-10-14 12:51:00 +00:00
committed by tmux update bot
parent 3e6c6576ab
commit 06262fbb48

View File

@@ -1,4 +1,4 @@
/* $OpenBSD: screen-redraw.c,v 1.166 2026/10/14 12:48:50 nicm Exp $ */
/* $OpenBSD: screen-redraw.c,v 1.167 2026/10/14 12:51:00 nicm Exp $ */
/*
* Copyright (c) 2026 Nicholas Marriott <nicholas.marriott@gmail.com>
@@ -2191,6 +2191,7 @@ void
redraw_client_damage(struct client *c)
{
struct window *w = c->session->curw->window;
struct tty *tty = &c->tty;
struct window_pane *wp;
struct redraw_scene *scene;
struct redraw_draw_ctx dctx;
@@ -2212,8 +2213,8 @@ redraw_client_damage(struct client *c)
wp->active_border_gc_set = 0;
}
tty_sync_start(&c->tty);
tty_update_mode(&c->tty, c->tty.mode & ~CURSOR_MODES, NULL);
tty_sync_start(tty);
tty_update_mode(tty, c->tty.mode & ~CURSOR_MODES, NULL);
TAILQ_FOREACH(rd, &w->damage, entry) {
x0 = (rd->x > ox) ? rd->x : ox;