Make Slideback work on OpenGL without PaintClipper

icc-effect-5.14.5
Martin Gräßlin 2011-07-03 19:52:14 +02:00
parent 8fa22d0f6a
commit 1793343847
1 changed files with 3 additions and 0 deletions

View File

@ -204,6 +204,9 @@ void SlideBackEffect::paintWindow(EffectWindow *w, int mask, QRegion region, Win
if (motionManager.isManaging(w)) {
motionManager.apply(w, data);
}
foreach (const QRegion &r, clippedRegions) {
region = region.intersected(r);
}
effects->paintWindow(w, mask, region, data);
for (int i = clippedRegions.count() - 1; i > -1; --i)
PaintClipper::pop(clippedRegions.at(i));