]> git.ipfire.org Git - thirdparty/vim.git/commitdiff
patch 9.1.1427: rendering artifacts with the tabpanel v9.1.1427
authorHirohito Higashi <h.east.727@gmail.com>
Tue, 3 Jun 2025 18:57:57 +0000 (20:57 +0200)
committerChristian Brabandt <cb@256bit.org>
Tue, 3 Jun 2025 18:57:57 +0000 (20:57 +0200)
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>
src/drawscreen.c
src/term.c
src/version.c

index 60b76d57cd2663f0ce4e0d91d28f1fc0c8ea8b73..37c8f422553c8992a96653d372f87335e88b856d 100644 (file)
@@ -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
index bf56361295034c899e74049b76973991aa99a6f7..b7a82da0a3fc2e9d20d4c5288b95b4f0bd6c359f 100644 (file)
@@ -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
 }
 
index 3160bdfeca7f30c295fc30dbc19bdc606a03286c..c9a1c16f75d2fbc7f3c8409214e569fefdd8c3bd 100644 (file)
@@ -709,6 +709,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    1427,
 /**/
     1426,
 /**/