MainScreen/PanelWindow: do not put on top layer

That would prevent direct scanout for other clients.
This commit is contained in:
Mia Herkt
2026-03-19 18:50:07 +01:00
parent 21c191d675
commit 345cdfb325
+3 -1
View File
@@ -44,7 +44,9 @@ PanelWindow {
}
// Wayland
WlrLayershell.layer: WlrLayer.Top
// As this is always rendered, putting it on the top layer
// would prevent direct scanout for other Wayland clients.
// WlrLayershell.layer: WlrLayer.Top
WlrLayershell.namespace: "noctalia-background-" + (screen?.name || "unknown")
WlrLayershell.exclusionMode: ExclusionMode.Ignore // Don't reserve space - BarExclusionZone handles that
WlrLayershell.keyboardFocus: {