mirror of
https://github.com/AvengeMedia/DankMaterialShell.git
synced 2026-08-04 12:38:31 -04:00
restore overlay option and tweak inset padding behavior
This commit is contained in:
@@ -173,8 +173,9 @@ Item {
|
||||
if (base.length === 0 && root.barConfig?.showOnLastDisplay && Quickshell.screens.length === 1)
|
||||
base = Quickshell.screens;
|
||||
}
|
||||
// Connected frame mode renders the bar inside the frame surface; skip the standalone window there.
|
||||
return base.filter(screen => !CompositorService.frameHostsSurfacesForScreen(screen));
|
||||
// Connected frame mode renders the bar inside the frame surface; skip the standalone window there
|
||||
// unless this bar wants the overlay layer, which the frame surface cannot provide.
|
||||
return base.filter(screen => !CompositorService.frameHostsBarForConfig(screen, root.barConfig));
|
||||
}
|
||||
|
||||
delegate: DankBarWindow {
|
||||
|
||||
Reference in New Issue
Block a user