Invalidate grid on allction when in ext_multigrid

When in ext_multigrid mode, after a window gets resized neovim wont
currently send all the needed events fill the window's blank space and
thus' UIs will have invalid grid state.
This commit is contained in:
Ville Hakulinen 2020-01-01 20:53:18 +02:00 committed by Björn Linse
parent e57ea5f2a9
commit 9be302e9a6

View File

@ -6211,7 +6211,7 @@ void win_grid_alloc(win_T *wp)
|| grid->Rows != rows
|| grid->Columns != cols) {
if (want_allocation) {
grid_alloc(grid, rows, cols, wp->w_grid.valid, wp->w_grid.valid);
grid_alloc(grid, rows, cols, wp->w_grid.valid, false);
grid->valid = true;
} else {
// Single grid mode, all rendering will be redirected to default_grid.