mirror of
https://github.com/neovim/neovim.git
synced 2025-09-19 17:58:18 +00:00
refactor: move more grid functions to grid.c. Clean up some variables
This commit is contained in:
@@ -6263,7 +6263,6 @@ void win_set_inner_size(win_T *wp)
|
||||
}
|
||||
wp->w_skipcol = 0;
|
||||
wp->w_height_inner = height;
|
||||
wp->w_winrow_off = wp->w_border_adj[0] + wp->w_winbar_height;
|
||||
|
||||
// There is no point in adjusting the scroll position when exiting. Some
|
||||
// values might be invalid.
|
||||
@@ -6291,6 +6290,8 @@ void win_set_inner_size(win_T *wp)
|
||||
|
||||
wp->w_height_outer = (wp->w_height_inner + win_extra_height(wp));
|
||||
wp->w_width_outer = (wp->w_width_inner + win_extra_width(wp));
|
||||
wp->w_winrow_off = wp->w_border_adj[0] + wp->w_winbar_height;
|
||||
wp->w_wincol_off = wp->w_border_adj[3];
|
||||
}
|
||||
|
||||
static int win_extra_height(win_T *wp)
|
||||
|
Reference in New Issue
Block a user