wallpaper: push the cycling config when the service is created (#3874)

port 2.0

(cherry picked from commit 900e6110d9)
This commit is contained in:
Mario Mohar
2026-10-22 21:09:21 +00:00
committed by dux-ci[bot]
parent b5da117206
commit f0826a953f
@@ -95,6 +95,12 @@ Singleton {
}
}
// Created late from the async DMSShell loader, after loaded and capabilitiesReceived may have fired.
Component.onCompleted: {
if (SessionData._hasLoaded)
updateCyclingState();
}
function updateCyclingState() {
cyclingActive = serverSchedulingAvailable && (SessionData.wallpaperCyclingEnabled || SessionData.perMonitorWallpaper);
if (!cyclingActive && !_lastPushedEnabled)