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
This commit is contained in:
parent
20399e0c42
commit
e419faee39
1 changed files with 2 additions and 0 deletions
|
@ -157,6 +157,8 @@ bool FallApartEffect::isRealWindow(EffectWindow* w)
|
||||||
|
|
||||||
void FallApartEffect::slotWindowClosed(EffectWindow* c)
|
void FallApartEffect::slotWindowClosed(EffectWindow* c)
|
||||||
{
|
{
|
||||||
|
if (effects->activeFullScreenEffect())
|
||||||
|
return;
|
||||||
if (!isRealWindow(c))
|
if (!isRealWindow(c))
|
||||||
return;
|
return;
|
||||||
if (!c->isVisible())
|
if (!c->isVisible())
|
||||||
|
|
Loading…
Reference in a new issue