kwin: fixing _NET_WM_OPAQUE_REGION related bug
The initial implementation forgot to consider the client borders. BUG: 293574 FIXED-IN: 4.8.1
This commit is contained in:
parent
90e59121dc
commit
6f3b9fae2a
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());
|
||||
} else if (topw->hasAlpha() && topw->opacity() == 1.0) {
|
||||
// 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 {
|
||||
data.clip = QRegion();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue