aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/buffer_defs.h
diff options
context:
space:
mode:
authorFamiu Haque <famiuhaque@protonmail.com>2022-05-23 18:38:07 +0600
committerFamiu Haque <famiuhaque@protonmail.com>2022-05-23 19:35:46 +0600
commit353553f913e5ad7b36182eed473660c92d656656 (patch)
tree622507097792fb2ee4deca9306ac530926d00736 /src/nvim/buffer_defs.h
parent4c6626f03dc645a426c1e63ca372b96f1073581b (diff)
downloadrneovim-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.h3
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)