fix crash in AnimationManager

This commit is contained in:
vaxerski 2022-04-05 20:53:16 +02:00
parent 74c2163dcf
commit 301336010d

View file

@ -47,6 +47,10 @@ void CAnimationManager::tick() {
}
}
// process fadein/out for unmapped windows, but nothing else.
if (!g_pCompositor->windowValidMapped(&w))
continue;
// process the borders
const auto& COLOR = g_pCompositor->isWindowActive(&w) ? BORDERACTIVECOL : BORDERINACTIVECOL;