From b29e37133dbb5beb2031450499be6ec6cf3c660d Mon Sep 17 00:00:00 2001 From: Hirohito Higashi Date: Tue, 3 Jun 2025 20:57:57 +0200 Subject: [PATCH] patch 9.1.1427: rendering artifacts with the tabpanel Problem: rendering artifacts with the tabpanel (char101) Solution: prevent double redraw, use Columns instead of frame width (Hirohito Higashi) fixes: #17429 closes: #17435 Signed-off-by: Hirohito Higashi Signed-off-by: Christian Brabandt --- src/drawscreen.c | 4 ---- src/term.c | 2 +- src/version.c | 2 ++ 3 files changed, 3 insertions(+), 5 deletions(-) diff --git a/src/drawscreen.c b/src/drawscreen.c index 60b76d57cd..37c8f42255 100644 --- a/src/drawscreen.c +++ b/src/drawscreen.c @@ -339,10 +339,6 @@ update_screen(int type_arg) win_redr_status(wp, TRUE); // any popup menu will be redrawn below } } -#if defined(FEAT_TABPANEL) - if (redraw_tabpanel) - draw_tabpanel(); -#endif #if defined(FEAT_SEARCH_EXTRA) end_search_hl(); #endif diff --git a/src/term.c b/src/term.c index bf56361295..b7a82da0a3 100644 --- a/src/term.c +++ b/src/term.c @@ -4478,7 +4478,7 @@ scroll_region_reset(void) { OUT_STR(tgoto((char *)T_CS, (int)Rows - 1, 0)); if (*T_CSV != NUL) - OUT_STR(tgoto((char *)T_CSV, topframe->fr_width - 1, 0)); + OUT_STR(tgoto((char *)T_CSV, Columns - 1, 0)); screen_start(); // don't know where cursor is now } diff --git a/src/version.c b/src/version.c index 3160bdfeca..c9a1c16f75 100644 --- a/src/version.c +++ b/src/version.c @@ -709,6 +709,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 1427, /**/ 1426, /**/