summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2022-03-28 12:41:19 +0100
committerBram Moolenaar <Bram@vim.org>2022-03-28 12:41:19 +0100
commit471b3aed3e9c43d4dd53444ceb74f9a4f8a3874a (patch)
tree2c03acd7687e98332b65a2e66ce16f60dc4dd9f3
parent8be423b7ac3b5742deb20a7eba8f5c9680c04500 (diff)
patch 8.2.4641: may mark the wrong window for redrawingv8.2.4641
Problem: May mark the wrong window for redrawing. Solution: Use redraw_win_later(). (closes #10032)
-rw-r--r--src/move.c4
-rw-r--r--src/version.c2
2 files changed, 4 insertions, 2 deletions
diff --git a/src/move.c b/src/move.c
index 3d8356fe95..a6d2fde74f 100644
--- a/src/move.c
+++ b/src/move.c
@@ -147,10 +147,10 @@ redraw_for_cursorcolumn(win_T *wp)
{
// When 'cursorcolumn' is set need to redraw with SOME_VALID.
if (wp->w_p_cuc)
- redraw_later(SOME_VALID);
+ redraw_win_later(wp, SOME_VALID);
// When 'cursorlineopt' contains "screenline" need to redraw with VALID.
else if (wp->w_p_cul && (wp->w_p_culopt_flags & CULOPT_SCRLINE))
- redraw_later(VALID);
+ redraw_win_later(wp, VALID);
}
}
#endif
diff --git a/src/version.c b/src/version.c
index 921e701698..0c1a16670a 100644
--- a/src/version.c
+++ b/src/version.c
@@ -751,6 +751,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 4641,
+/**/
4640,
/**/
4639,