From 8ba16371e781013cebbc4e9c33d9b00878c051b9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thomas=20L=C3=BCbking?= Date: Tue, 12 May 2015 21:23:56 +0200 Subject: [PATCH] stall wobbling while screen is transformed transformed screens prevent hardware clipping leading through filtering subquads This requires to subquad in the painting pass what is not supported for non rectangular qauds ands presently aborts (in debug builds) if any quad is transformed (as by eg. the wobbling) REVIEW: 123733 BUG: 338972 --- effects/wobblywindows/wobblywindows.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/effects/wobblywindows/wobblywindows.cpp b/effects/wobblywindows/wobblywindows.cpp index 1f6765b46b..6c92b8f2aa 100644 --- a/effects/wobblywindows/wobblywindows.cpp +++ b/effects/wobblywindows/wobblywindows.cpp @@ -303,7 +303,7 @@ void WobblyWindowsEffect::prePaintWindow(EffectWindow* w, WindowPrePaintData& da void WobblyWindowsEffect::paintWindow(EffectWindow* w, int mask, QRegion region, WindowPaintData& data) { - if (windows.contains(w)) { + if (!(mask & PAINT_SCREEN_TRANSFORMED) && windows.contains(w)) { WindowWobblyInfos& wwi = windows[w]; int tx = w->geometry().x(); int ty = w->geometry().y();