diff options
author | zeertzjq <zeertzjq@outlook.com> | 2022-05-29 16:26:55 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-05-29 16:26:55 +0800 |
commit | 015656abd72b7ccac966f21218c4d7108800237a (patch) | |
tree | 281bfb45563e4d1c12a62275834bf94325f91b0b /src | |
parent | 6d30efddb74300b9bacd3ddbaeef6f5dbf9e3e08 (diff) | |
download | rneovim-015656abd72b7ccac966f21218c4d7108800237a.tar.gz rneovim-015656abd72b7ccac966f21218c4d7108800237a.tar.bz2 rneovim-015656abd72b7ccac966f21218c4d7108800237a.zip |
fix(winbar): set w_winrow_off when initializing firstwin size (#18793)
Diffstat (limited to 'src')
-rw-r--r-- | src/nvim/window.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/nvim/window.c b/src/nvim/window.c index 060f498f07..a41f3362d2 100644 --- a/src/nvim/window.c +++ b/src/nvim/window.c @@ -3993,6 +3993,7 @@ void win_init_size(void) firstwin->w_height = ROWS_AVAIL; firstwin->w_height_inner = firstwin->w_height - firstwin->w_winbar_height; firstwin->w_height_outer = firstwin->w_height; + firstwin->w_winrow_off = firstwin->w_winbar_height; topframe->fr_height = ROWS_AVAIL; firstwin->w_width = Columns; firstwin->w_width_inner = firstwin->w_width; |