From e419faee39b23d4b1b9f4359b07d31b5e95e7e6e Mon Sep 17 00:00:00 2001 From: Vlad Zahorodnii Date: Wed, 9 Feb 2022 15:09:58 +0200 Subject: [PATCH] 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 --- src/effects/fallapart/fallapart.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/effects/fallapart/fallapart.cpp b/src/effects/fallapart/fallapart.cpp index e43506375b..9c8edb0ed4 100644 --- a/src/effects/fallapart/fallapart.cpp +++ b/src/effects/fallapart/fallapart.cpp @@ -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())