Merge remote-tracking branch 'origin/KDE/4.8'

This commit is contained in:
Philipp Knechtges 2012-02-08 16:47:51 +01:00
commit 8e83484eec

View file

@ -282,7 +282,7 @@ void Scene::paintSimpleScreen(int orig_mask, QRegion region)
data.clip = w->clientShape().translated(w->x(), w->y()); data.clip = w->clientShape().translated(w->x(), w->y());
} else if (topw->hasAlpha() && topw->opacity() == 1.0) { } else if (topw->hasAlpha() && topw->opacity() == 1.0) {
// the window is partially opaque // the window is partially opaque
data.clip = (w->clientShape() & topw->opaqueRegion()).translated(w->x(), w->y()); data.clip = (w->clientShape() & topw->opaqueRegion().translated(topw->clientPos())).translated(w->x(), w->y());
} else { } else {
data.clip = QRegion(); data.clip = QRegion();
} }