Merge pull request #11649 from vhakulinen/fix-blank-sections-with-multigrid

invalidate grid on allocation when in ext_multigrid
This commit is contained in:
Björn Linse
2020-09-06 13:23:20 +02:00
committed by GitHub

View File

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