summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>2025-10-30 01:03:57 +1100
committer2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>2025-10-30 01:03:57 +1100
commitbfd149b256d1364ec320c8a0307966b5d4fde826 (patch)
treee67339ffa7de310f16db1c50ba26f376283c0898
parent[CI] chore: update flake (diff)
downloadcaelestia-shell-bfd149b256d1364ec320c8a0307966b5d4fde826.tar.gz
caelestia-shell-bfd149b256d1364ec320c8a0307966b5d4fde826.tar.bz2
caelestia-shell-bfd149b256d1364ec320c8a0307966b5d4fde826.zip
background: fix wallpaper loading on init
Fixes #779 Closes #847
-rw-r--r--modules/background/Wallpaper.qml5
1 files changed, 5 insertions, 0 deletions
diff --git a/modules/background/Wallpaper.qml b/modules/background/Wallpaper.qml
index a4d99ee..233dacb 100644
--- a/modules/background/Wallpaper.qml
+++ b/modules/background/Wallpaper.qml
@@ -25,6 +25,11 @@ Item {
one.update();
}
+ Component.onCompleted: {
+ if (source)
+ Qt.callLater(() => one.update());
+ }
+
Loader {
anchors.fill: parent