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:
parent
2cec03dede
commit
cd93f3c486
1 changed files with 2 additions and 2 deletions
|
@ -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);
|
||||||
|
|
Loading…
Reference in a new issue