From 362ded3bc98e0f9b564167e6bafbc34b0b8453aa Mon Sep 17 00:00:00 2001 From: bbedward Date: Sat, 28 Feb 2026 15:39:57 -0500 Subject: [PATCH] blurred wallpaper: defer update disabling much longer --- quickshell/Modules/BlurredWallpaperBackground.qml | 14 ++++---------- 1 file changed, 4 insertions(+), 10 deletions(-) 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: {