fix(lockscreen): prevent backdrop from covering wallpaper

This commit is contained in:
Ly-sec
2026-04-29 11:06:11 +02:00
parent 0303e62770
commit 48ba39520f
+2
View File
@@ -42,9 +42,11 @@ namespace {
LockSurface::LockSurface(WaylandConnection& connection) : Surface(connection) {
auto wallpaper = std::make_unique<WallpaperNode>();
m_wallpaper = static_cast<WallpaperNode*>(m_root.addChild(std::move(wallpaper)));
m_wallpaper->setZIndex(0);
auto backdrop = std::make_unique<RectNode>();
m_backdrop = static_cast<RectNode*>(m_root.addChild(std::move(backdrop)));
m_backdrop->setZIndex(-1);
auto clockShadow = std::make_unique<Label>();
m_clockShadow = static_cast<Label*>(m_root.addChild(std::move(clockShadow)));