mirror of
https://github.com/hyprwm/Hyprland
synced 2024-11-02 11:25:58 +01:00
fix crash in AnimationManager
This commit is contained in:
parent
a49bbf4508
commit
50b48818a2
1 changed files with 4 additions and 0 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in a new issue