mirror of
https://github.com/vim/vim.git
synced 2025-09-24 03:44:06 -04:00
patch 8.2.4641: may mark the wrong window for redrawing
Problem: May mark the wrong window for redrawing. Solution: Use redraw_win_later(). (closes #10032)
This commit is contained in:
@@ -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
|
||||
|
@@ -750,6 +750,8 @@ static char *(features[]) =
|
||||
|
||||
static int included_patches[] =
|
||||
{ /* Add new patch number below this line */
|
||||
/**/
|
||||
4641,
|
||||
/**/
|
||||
4640,
|
||||
/**/
|
||||
|
Reference in New Issue
Block a user