From 4d4d9990ddc2b8a82c40fe151cc689269e3b8389 Mon Sep 17 00:00:00 2001 From: Vlad Zagorodniy Date: Sat, 7 Sep 2019 14:49:50 +0300 Subject: [PATCH] [effects/wobblywindows] Draw clients below opaque wobbly windows Summary: Given that wobbly windows effect takes optimized render path, it needs to clear the clip region of about to be transformed opaque window. BUG: 411092 FIXED-IN: 5.17.0 Reviewers: #kwin, davidedmundson Reviewed By: #kwin, davidedmundson Subscribers: kwin Tags: #kwin Differential Revision: https://phabricator.kde.org/D23774 --- effects/wobblywindows/wobblywindows.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/effects/wobblywindows/wobblywindows.cpp b/effects/wobblywindows/wobblywindows.cpp index aa0d6e83e3..4abfe682a1 100644 --- a/effects/wobblywindows/wobblywindows.cpp +++ b/effects/wobblywindows/wobblywindows.cpp @@ -249,6 +249,10 @@ void WobblyWindowsEffect::prePaintWindow(EffectWindow* w, WindowPrePaintData& da bool stop = false; qreal updateTime = time; + // We have to reset the clip region in order to render clients below + // opaque wobbly windows. + data.clip = QRegion(); + while (!stop && (updateTime > maxTime)) { #if defined VERBOSE_MODE qCDebug(KWINEFFECTS) << "loop time " << updateTime << " / " << time;