Merge remote-tracking branch 'origin/KDE/4.8'
This commit is contained in:
commit
8e83484eec
1 changed files with 1 additions and 1 deletions
|
@ -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();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue