From f9fb24577a0891bc4a8e9591c63ace789fd466a1 Mon Sep 17 00:00:00 2001 From: William Wernert Date: Wed, 21 Jan 2026 10:54:02 -0500 Subject: animation: reset tick state on session activation (#13024) After suspend/wake, the animation tick timer state (m_lastTickValid, m_tickScheduled) could be stale, causing framerate drops when blur is enabled. This was introduced in 2b0fd417 which changed the animation tick timing mechanism. Reset the tick state when the session becomes active to ensure a clean state for the animation system. --- src/Compositor.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/Compositor.cpp') diff --git a/src/Compositor.cpp b/src/Compositor.cpp index 3299113c..1d80c65c 100644 --- a/src/Compositor.cpp +++ b/src/Compositor.cpp @@ -483,6 +483,10 @@ void CCompositor::initAllSignals() { m_sessionActive = true; + // Reset animation tick state to avoid stale timer issues after suspend/wake + if (g_pAnimationManager) + g_pAnimationManager->resetTickState(); + for (auto const& m : m_monitors) { scheduleFrameForMonitor(m); m->applyMonitorRule(&m->m_activeMonitorRule, true); -- cgit v1.2.3