Mercurial > vim
changeset 28229:d83d9eaccdde v8.2.4641
patch 8.2.4641: may mark the wrong window for redrawing
Commit: https://github.com/vim/vim/commit/471b3aed3e9c43d4dd53444ceb74f9a4f8a3874a
Author: Bram Moolenaar <Bram@vim.org>
Date: Mon Mar 28 12:41:19 2022 +0100
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 https://github.com/vim/vim/issues/10032)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Mon, 28 Mar 2022 13:45:03 +0200 |
parents | 2868e68d1eec |
children | 1ef7f5e0c686 |
files | src/move.c src/version.c |
diffstat | 2 files changed, 4 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- 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