Dwindle window group fixes

fixed a crash and animations in the bg
This commit is contained in:
vaxerski
2022-04-12 19:18:26 +02:00
parent b6a93b2f03
commit 4bd23604f8
2 changed files with 13 additions and 13 deletions

View File

@@ -48,7 +48,8 @@ void CAnimationManager::tick() {
}
// process fadein/out for unmapped windows, but nothing else.
if (!g_pCompositor->windowValidMapped(&w))
// we can't use windowValidMapped because we want to animate hidden windows too.
if (!g_pCompositor->windowExists(&w) || !w.m_bIsMapped || !g_pXWaylandManager->getWindowSurface(&w))
continue;
// process the borders