From c7ee0fe38f4d3f41a9421094509a04c7e73835a9 Mon Sep 17 00:00:00 2001 From: Folke Lemaitre Date: Wed, 16 Nov 2022 22:45:15 +0100 Subject: fix: don't disable compositor widgets when a GUI with multigrid attaches --- src/nvim/ui.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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); } } -- cgit