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/window.c | |
| 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/window.c')
| -rw-r--r-- | src/nvim/window.c | 2 | 
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/window.c b/src/nvim/window.c index 835aba204d..0ba5bb1889 100644 --- a/src/nvim/window.c +++ b/src/nvim/window.c @@ -6709,7 +6709,7 @@ void set_winbar(void)      if (wp->w_winbar_height != winbar_height) {        wp->w_winbar_height = winbar_height;        win_set_inner_size(wp); -      wp->w_redr_winbar = winbar_height; +      wp->w_redr_status = wp->w_redr_status || winbar_height;        if (winbar_height == 0) {          // When removing winbar, deallocate the w_winbar_click_defs array  | 
