From df2bc487fdaed37d13d80eb0f53633d0864ff8b5 Mon Sep 17 00:00:00 2001 From: Damocles Date: Tue, 21 Apr 2026 23:24:57 +0200 Subject: [PATCH] fix lock surface background opacity to prevent compositor fallback bleedthrough --- shell/lock/LockSurface.qml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/shell/lock/LockSurface.qml b/shell/lock/LockSurface.qml index f98d502..66efacd 100644 --- a/shell/lock/LockSurface.qml +++ b/shell/lock/LockSurface.qml @@ -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