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 <h.east.727@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
diff --git a/src/drawscreen.c b/src/drawscreen.c
index 60b76d5..37c8f42 100644
--- a/src/drawscreen.c
+++ b/src/drawscreen.c
@@ -339,10 +339,6 @@
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 bf56361..b7a82da 100644
--- a/src/term.c
+++ b/src/term.c
@@ -4478,7 +4478,7 @@
{
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 3160bdf..c9a1c16 100644
--- a/src/version.c
+++ b/src/version.c
@@ -710,6 +710,8 @@
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 1427,
+/**/
1426,
/**/
1425,