mirror of
https://github.com/neovim/neovim.git
synced 2025-09-05 19:08:15 +00:00
Merge pull request #21080 from folke/fix_multigrid_lua_ui_attach
fix: don't disable compositor widgets when a GUI with multigrid attaches
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user