mirror of
https://github.com/hyprwm/Hyprland
synced 2026-05-08 15:38:26 +02:00
fix crash in AnimationManager
This commit is contained in:
parent
74c2163dcf
commit
301336010d
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…
Add table
Reference in a new issue