fix crash in AnimationManager

This commit is contained in:
vaxerski 2022-04-05 20:53:16 +02:00
parent a49bbf4508
commit 50b48818a2

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 // process the borders
const auto& COLOR = g_pCompositor->isWindowActive(&w) ? BORDERACTIVECOL : BORDERINACTIVECOL; const auto& COLOR = g_pCompositor->isWindowActive(&w) ? BORDERACTIVECOL : BORDERINACTIVECOL;