Make Slideback work on OpenGL without PaintClipper
This commit is contained in:
parent
8fa22d0f6a
commit
1793343847
1 changed files with 3 additions and 0 deletions
|
@ -204,6 +204,9 @@ void SlideBackEffect::paintWindow(EffectWindow *w, int mask, QRegion region, Win
|
||||||
if (motionManager.isManaging(w)) {
|
if (motionManager.isManaging(w)) {
|
||||||
motionManager.apply(w, data);
|
motionManager.apply(w, data);
|
||||||
}
|
}
|
||||||
|
foreach (const QRegion &r, clippedRegions) {
|
||||||
|
region = region.intersected(r);
|
||||||
|
}
|
||||||
effects->paintWindow(w, mask, region, data);
|
effects->paintWindow(w, mask, region, data);
|
||||||
for (int i = clippedRegions.count() - 1; i > -1; --i)
|
for (int i = clippedRegions.count() - 1; i > -1; --i)
|
||||||
PaintClipper::pop(clippedRegions.at(i));
|
PaintClipper::pop(clippedRegions.at(i));
|
||||||
|
|
Loading…
Reference in a new issue