Commit 75462970 authored by Vlad Zahorodnii's avatar Vlad Zahorodnii
Browse files

effects/fallapart: Avoid animating windows while there's a fullscreen effect

While there's a fullscreen effect, the fall apart effect should avoid
animating windows as it can corrupt or interfere with the active full
screen effect. This matches behavior of many other animation effects in
kwin.

BUG: 449844


(cherry picked from commit e419faee)
parent fa142dd1
Pipeline #135401 passed with stage
in 14 minutes and 53 seconds
......@@ -157,6 +157,8 @@ bool FallApartEffect::isRealWindow(EffectWindow* w)
void FallApartEffect::slotWindowClosed(EffectWindow* c)
{
if (effects->activeFullScreenEffect())
return;
if (!isRealWindow(c))
return;
if (!c->isVisible())
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment