kwin/cube: Fix the panel shadow being clipped out

The shadow was being clipped out while the slide animation was running.
This commit is contained in:
Fredrik Höglund 2013-03-21 16:38:23 +01:00
parent 2cec03dede
commit cd93f3c486

View file

@ -98,12 +98,12 @@ void CubeSlideEffect::paintScreen(int mask, QRegion region, ScreenPaintData& dat
if (dontSlidePanels) { if (dontSlidePanels) {
foreach (EffectWindow * w, panels) { foreach (EffectWindow * w, panels) {
WindowPaintData wData(w); 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) { foreach (EffectWindow * w, stickyWindows) {
WindowPaintData wData(w); WindowPaintData wData(w);
effects->paintWindow(w, 0, QRegion(w->x(), w->y(), w->width(), w->height()), wData); effects->paintWindow(w, 0, infiniteRegion(), wData);
} }
} else } else
effects->paintScreen(mask, region, data); effects->paintScreen(mask, region, data);