From cd93f3c486f71de8609fde62061052c3c8e992ef Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fredrik=20H=C3=B6glund?= Date: Thu, 21 Mar 2013 16:38:23 +0100 Subject: [PATCH] kwin/cube: Fix the panel shadow being clipped out The shadow was being clipped out while the slide animation was running. --- effects/cube/cubeslide.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/effects/cube/cubeslide.cpp b/effects/cube/cubeslide.cpp index aa933ae971..78cb58d514 100644 --- a/effects/cube/cubeslide.cpp +++ b/effects/cube/cubeslide.cpp @@ -98,12 +98,12 @@ void CubeSlideEffect::paintScreen(int mask, QRegion region, ScreenPaintData& dat if (dontSlidePanels) { foreach (EffectWindow * w, panels) { WindowPaintData wData(w); - effects->paintWindow(w, 0, QRegion(w->x(), w->y(), w->width(), w->height()), wData); + effects->paintWindow(w, 0, infiniteRegion(), wData); } } foreach (EffectWindow * w, stickyWindows) { WindowPaintData wData(w); - effects->paintWindow(w, 0, QRegion(w->x(), w->y(), w->width(), w->height()), wData); + effects->paintWindow(w, 0, infiniteRegion(), wData); } } else effects->paintScreen(mask, region, data);