fix tray menu transparent at wrong location

This commit is contained in:
Damocles 2026-04-12 14:28:47 +02:00
parent 1886f27268
commit 09d901bf5a

View file

@ -23,8 +23,7 @@ PanelWindow {
color: "transparent"
WlrLayershell.layer: WlrLayer.Overlay
// -1 = ignore exclusive zones so this covers the full screen including the bar
WlrLayershell.exclusiveZone: -1
WlrLayershell.exclusiveZone: 0
WlrLayershell.namespace: "nova-traymenu"
anchors.top: true
@ -46,7 +45,7 @@ PanelWindow {
Math.round(menuWindow.anchorX - menuStack.width / 2),
menuWindow.width - menuStack.width
))
y: M.Theme.barHeight
y: 0
width: menuStack.width
height: menuStack.height
@ -59,7 +58,7 @@ PanelWindow {
Rectangle {
anchors.fill: parent
color: M.Theme.base01
opacity: M.Theme.barOpacity
opacity: Math.max(M.Theme.barOpacity, 0.85)
topLeftRadius: 0
topRightRadius: 0
bottomLeftRadius: M.Theme.radius