diff options
author | Famiu Haque <famiuhaque@protonmail.com> | 2022-05-23 18:38:07 +0600 |
---|---|---|
committer | Famiu Haque <famiuhaque@protonmail.com> | 2022-05-23 19:35:46 +0600 |
commit | 353553f913e5ad7b36182eed473660c92d656656 (patch) | |
tree | 622507097792fb2ee4deca9306ac530926d00736 /src/nvim/buffer_defs.h | |
parent | 4c6626f03dc645a426c1e63ca372b96f1073581b (diff) | |
download | rneovim-353553f913e5ad7b36182eed473660c92d656656.tar.gz rneovim-353553f913e5ad7b36182eed473660c92d656656.tar.bz2 rneovim-353553f913e5ad7b36182eed473660c92d656656.zip |
fix(ui): redraw winbar alongside statusline
Remove `w_redr_winbar` and use `w_redr_status` to redraw the winbar to
ensure that winbar redraw is triggered alongside the statusline redraw.
Diffstat (limited to 'src/nvim/buffer_defs.h')
-rw-r--r-- | src/nvim/buffer_defs.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/nvim/buffer_defs.h b/src/nvim/buffer_defs.h index 22eef020a1..b5980612f8 100644 --- a/src/nvim/buffer_defs.h +++ b/src/nvim/buffer_defs.h @@ -1389,8 +1389,7 @@ struct window_S { // w_redr_type is REDRAW_TOP linenr_T w_redraw_top; // when != 0: first line needing redraw linenr_T w_redraw_bot; // when != 0: last line needing redraw - bool w_redr_status; // if true status line must be redrawn - bool w_redr_winbar; // if true window bar must be redrawn + bool w_redr_status; // if true statusline/winbar must be redrawn bool w_redr_border; // if true border must be redrawn // remember what is shown in the ruler for this window (if 'ruler' set) |