commit c7ee0fe38f4d3f41a9421094509a04c7e73835a9
parent c404f9b4baf57b946d4dd8d00fce5225e2b5131b
Author: Folke Lemaitre <folke.lemaitre@gmail.com>
Date: Wed, 16 Nov 2022 22:45:15 +0100
fix: don't disable compositor widgets when a GUI with multigrid attaches
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git 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);
}
}