diff --git a/quickshell/Modules/BlurredWallpaperBackground.qml b/quickshell/Modules/BlurredWallpaperBackground.qml index 2a9ad192..552d3ce8 100644 --- a/quickshell/Modules/BlurredWallpaperBackground.qml +++ b/quickshell/Modules/BlurredWallpaperBackground.qml @@ -85,7 +85,8 @@ Variants { } Component.onCompleted: { - renderSettleTimer.restart(); + if (typeof blurWallpaperWindow.updatesEnabled !== "undefined") + blurWallpaperWindow.updatesEnabled = Qt.binding(() => root.effectActive || root._renderSettling || currentWallpaper.status === Image.Loading || nextWallpaper.status === Image.Loading); isInitialized = true; } @@ -94,7 +95,6 @@ Variants { readonly property bool transitioning: transitionAnimation.running property bool effectActive: false property bool _renderSettling: true - property bool _updatesOptimized: false property bool useNextForEffect: false Connections { @@ -109,14 +109,8 @@ Variants { Timer { id: renderSettleTimer - interval: 100 - onTriggered: { - root._renderSettling = false; - if (!root._updatesOptimized && typeof blurWallpaperWindow.updatesEnabled !== "undefined") { - root._updatesOptimized = true; - blurWallpaperWindow.updatesEnabled = Qt.binding(() => root.effectActive || root._renderSettling || currentWallpaper.status === Image.Loading || nextWallpaper.status === Image.Loading); - } - } + interval: 1000 + onTriggered: root._renderSettling = false } onSourceChanged: {