From 9be302e9a6de9423e3dd1563b58dd4f28d42a7b9 Mon Sep 17 00:00:00 2001 From: Ville Hakulinen Date: Wed, 1 Jan 2020 20:53:18 +0200 Subject: [PATCH] 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. --- src/nvim/screen.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/nvim/screen.c b/src/nvim/screen.c index c68a90d6e3..fde6b1ceeb 100644 --- a/src/nvim/screen.c +++ b/src/nvim/screen.c @@ -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.