diff options
| author | vaxerski <43317083+vaxerski@users.noreply.github.com> | 2022-04-05 20:53:16 +0200 |
|---|---|---|
| committer | vaxerski <43317083+vaxerski@users.noreply.github.com> | 2022-04-05 20:53:16 +0200 |
| commit | 50b48818a2a625118a9d0f8454041ad9d2ec5f59 (patch) | |
| tree | 18116c642bb6e7310b1cd164461957013a046c21 /src/managers/AnimationManager.cpp | |
| parent | a49bbf450881581e27696405ebaefef63f7bde7a (diff) | |
fix crash in AnimationManager
Diffstat (limited to 'src/managers/AnimationManager.cpp')
| -rw-r--r-- | src/managers/AnimationManager.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/managers/AnimationManager.cpp b/src/managers/AnimationManager.cpp index 49ed7f44..4495214a 100644 --- a/src/managers/AnimationManager.cpp +++ b/src/managers/AnimationManager.cpp @@ -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; |
