diff options
author | zeertzjq <zeertzjq@outlook.com> | 2024-02-13 06:30:35 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-02-13 06:30:35 +0800 |
commit | 984f7a9fd3d4ad4c6b51fa5c54c3550756056723 (patch) | |
tree | 222b8b0d6a5bd074394abe2b0d108aa46d61a9e6 /src/nvim/winfloat.c | |
parent | 84b6ade41510ffad7d712abe2b010e4027b7033c (diff) | |
download | rneovim-984f7a9fd3d4ad4c6b51fa5c54c3550756056723.tar.gz rneovim-984f7a9fd3d4ad4c6b51fa5c54c3550756056723.tar.bz2 rneovim-984f7a9fd3d4ad4c6b51fa5c54c3550756056723.zip |
vim-patch:9.0.0245: mechanism to prevent recursive screen updating is incomplete (#27448)
Problem: Mechanism to prevent recursive screen updating is incomplete.
Solution: Add "redraw_not_allowed" and set it in build_stl_str_hl().
(issue vim/vim#10952)
https://github.com/vim/vim/commit/471c0fa3eed4f6207d1cb7636970547bfd2eee26
Co-authored-by: Bram Moolenaar <Bram@vim.org>
Diffstat (limited to 'src/nvim/winfloat.c')
-rw-r--r-- | src/nvim/winfloat.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/winfloat.c b/src/nvim/winfloat.c index 83a04a1bcf..8fe0315230 100644 --- a/src/nvim/winfloat.c +++ b/src/nvim/winfloat.c @@ -184,7 +184,7 @@ void win_config_float(win_T *wp, WinConfig fconfig) } win_set_inner_size(wp, true); - must_redraw = MAX(must_redraw, UPD_VALID); + set_must_redraw(UPD_VALID); wp->w_pos_changed = true; if (change_external || change_border) { |