diff --git a/luciddocks/Dock.qml b/luciddocks/Dock.qml index 3f0fa70..6f037e1 100644 --- a/luciddocks/Dock.qml +++ b/luciddocks/Dock.qml @@ -2295,8 +2295,10 @@ PanelWindow { }) WlrLayershell.keyboardFocus: dockWindow.menuOpen ? WlrKeyboardFocus.OnDemand : WlrKeyboardFocus.None // over a fullscreen window hyprland fades the top layer out, so a closing - // launcher keeps the overlay until it has shrunk and gone down - WlrLayershell.layer: (dockWindow.menuOpen || dockWindow.morphing) ? WlrLayer.Overlay : WlrLayer.Top + // launcher keeps the overlay until it has shrunk and gone down. standing on the + // bar it stays there throughout, so the bar, lifted to the overlay as the + // launcher opens, lands above it (see the bar's layer) + WlrLayershell.layer: (dockWindow.menuOpen || dockWindow.morphing || dockWindow.onBar) ? WlrLayer.Overlay : WlrLayer.Top color: "transparent" implicitWidth: Math.max(dockWindow.maxDockWidth, dockWindow.menuWidth) implicitHeight: dockWindow.menuMaxHeight + dockWindow.dragHeadroom diff --git a/shell.qml b/shell.qml index 4871bf8..7b72139 100644 --- a/shell.qml +++ b/shell.qml @@ -1589,7 +1589,13 @@ ShellRoot { interval: Theme.barDurEnter + Theme.barMs(80) } - WlrLayershell.layer: bar.fullscreenHere && (bar.panelUp || panelDownTimer.running) ? WlrLayer.Overlay : WlrLayer.Top + // a layer drawn later frosts what the earlier ones painted. under the bar, + // the launcher standing on it frosted the bar's icons and stood a shade off + // the strip; drawn after it, the bar frosts only the launcher's edge, which is + // the same glass, and the launcher frosts the windows behind it + readonly property bool overLauncher: bar.primary && dock.onBar && (dock.menuOpen || dock.morphing) + + WlrLayershell.layer: (bar.fullscreenHere && (bar.panelUp || panelDownTimer.running)) || bar.overLauncher ? WlrLayer.Overlay : WlrLayer.Top // the Start module linked to the Apps module lights as the first icon of its // row. the link as set, on the full bar too, which draws no joins