bar: allow popouts from bars revealed in overview (#3592)

This commit is contained in:
Alexander authored and GitHub committed 2026-09-27 16:13:03 -04:00
1 parent e4fb86be91
commit 734314d09f
1 file changed
+3 -1
+3 -1
View File
@@ -135,7 +135,9 @@ Singleton {
const context = entry.context;
if (!context?.surface?.screen)
return true;
if (!context.owner?.active || context.surface.config.enabled === false || context.surface.config.visible === false)
if (!context.owner?.active || context.surface.config.enabled === false)
return false;
if (context.surface.config.visible === false && !(context.surface.host?.barRevealed ?? context.surface.revealed))
return false;
if (context.kind === "dock")
return SettingsData.dockConfigsForScreen(context.surface.screen).some(config => config.id === context.barId);