diff options
author | bfredl <bjorn.linse@gmail.com> | 2022-09-26 15:17:10 +0200 |
---|---|---|
committer | bfredl <bjorn.linse@gmail.com> | 2022-10-05 20:11:13 +0200 |
commit | 6679687bb3909f853ae97dfa01ae08ea2baf7f97 (patch) | |
tree | eba4f499d8521853bb56cadecf19f0d85cac1d9a /src/nvim/ui_compositor.c | |
parent | 1f2ded459a6f26635bf013da4100b3dedb777f73 (diff) | |
download | rneovim-6679687bb3909f853ae97dfa01ae08ea2baf7f97.tar.gz rneovim-6679687bb3909f853ae97dfa01ae08ea2baf7f97.tar.bz2 rneovim-6679687bb3909f853ae97dfa01ae08ea2baf7f97.zip |
refactor(redraw): no type argument in update_screen()
This was used in the past with assumption that curwin/curbuf
is "special" but this has not been true since basically forever
at this point.
Reduce NOT_VALID/CLEAR panic in options.lua . These should not
be set if an effect of the option is causing something
which by itself invokes redraw_later().
Diffstat (limited to 'src/nvim/ui_compositor.c')
-rw-r--r-- | src/nvim/ui_compositor.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/ui_compositor.c b/src/nvim/ui_compositor.c index 8ef24b484e..47c83b8ed1 100644 --- a/src/nvim/ui_compositor.c +++ b/src/nvim/ui_compositor.c @@ -138,7 +138,7 @@ bool ui_comp_should_draw(void) /// /// TODO(bfredl): later on the compositor should just use win_float_pos events, /// though that will require slight event order adjustment: emit the win_pos -/// events in the beginning of update_screen(0), rather than in ui_flush() +/// events in the beginning of update_screen(), rather than in ui_flush() bool ui_comp_put_grid(ScreenGrid *grid, int row, int col, int height, int width, bool valid, bool on_top) { |