mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06:00
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:
parent
e57ea5f2a9
commit
9be302e9a6
@ -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.
|
||||||
|
Loading…
Reference in New Issue
Block a user