diff options
author | Folke Lemaitre <folke.lemaitre@gmail.com> | 2022-11-16 22:45:15 +0100 |
---|---|---|
committer | Folke Lemaitre <folke.lemaitre@gmail.com> | 2022-11-16 22:45:15 +0100 |
commit | c7ee0fe38f4d3f41a9421094509a04c7e73835a9 (patch) | |
tree | 984361b9f89288c8d2093575860b0ddca0d5a419 /src/nvim/ui.c | |
parent | c404f9b4baf57b946d4dd8d00fce5225e2b5131b (diff) | |
download | rneovim-c7ee0fe38f4d3f41a9421094509a04c7e73835a9.tar.gz rneovim-c7ee0fe38f4d3f41a9421094509a04c7e73835a9.tar.bz2 rneovim-c7ee0fe38f4d3f41a9421094509a04c7e73835a9.zip |
fix: don't disable compositor widgets when a GUI with multigrid attaches
Diffstat (limited to 'src/nvim/ui.c')
-rw-r--r-- | src/nvim/ui.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/ui.c b/src/nvim/ui.c index 4beb4b344a..7bde8d2f5a 100644 --- a/src/nvim/ui.c +++ b/src/nvim/ui.c @@ -204,7 +204,7 @@ void ui_refresh(void) width = MIN(ui->width, width); height = MIN(ui->height, height); for (UIExtension j = 0; (int)j < kUIExtCount; j++) { - bool in_compositor = ui->composed && compositor->ui_ext[j]; + bool in_compositor = (ui->composed || j < kUIGlobalCount) && compositor->ui_ext[j]; ext_widgets[j] &= (ui->ui_ext[j] || in_compositor || inclusive); } } |