mirror of
https://github.com/vim/vim.git
synced 2025-09-23 03:43:49 -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
|
||||
|
Reference in New Issue
Block a user