fix lock surface background opacity to prevent compositor fallback bleedthrough

This commit is contained in:
Damocles 2026-04-21 23:24:57 +02:00
parent cd6f32dfcf
commit df2bc487fd

View file

@ -15,6 +15,14 @@ WlSessionLockSurface {
property real _unlockFade: 1
// Solid background - WlSessionLockSurface.color can be unreliable with
// Wayland compositors, so paint an explicit opaque rect to prevent the
// compositor fallback color (niri red) from bleeding through.
Rectangle {
anchors.fill: parent
color: S.Theme.base00
}
// Clear desktop screenshot from ScreenshotService - visible immediately
Image {
anchors.fill: parent