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
commit a0b18464ab
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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.