From 0a8c436f7f055ff27cda99d757cbd135cc3a6494 Mon Sep 17 00:00:00 2001 From: Vlad Zagorodniy Date: Mon, 15 Apr 2019 10:59:51 +0300 Subject: [PATCH] [effects/fallapart] Don't animate popups Summary: BUG: 405971 Reviewers: #kwin, davidedmundson Reviewed By: #kwin, davidedmundson Subscribers: kwin Tags: #kwin Differential Revision: https://phabricator.kde.org/D20568 --- effects/fallapart/fallapart.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/effects/fallapart/fallapart.cpp b/effects/fallapart/fallapart.cpp index 5d3f0997b9..e23c0e728e 100644 --- a/effects/fallapart/fallapart.cpp +++ b/effects/fallapart/fallapart.cpp @@ -146,6 +146,12 @@ bool FallApartEffect::isRealWindow(EffectWindow* w) qCDebug(KWINEFFECTS) << "Splash:" << w->isSplash(); qCDebug(KWINEFFECTS) << "Normal:" << w->isNormalWindow(); */ + if (w->isPopupWindow()) { + return false; + } + if (w->isX11Client() && !w->isManaged()) { + return false; + } if (!w->isNormalWindow()) return false; return true;