Revert accidential change in Scene::buildQuads
Region of decoration was accidentially changed with commit 2ed2c50b713843b184a7b973b1dfc106679df7ff
This commit is contained in:
parent
fb361b3d35
commit
d46eeed0bc
1 changed files with 2 additions and 1 deletions
|
@ -583,7 +583,8 @@ WindowQuadList Scene::Window::buildQuads(bool force) const
|
|||
Client *client = dynamic_cast<Client*>(toplevel);
|
||||
QRegion contents = clientShape();
|
||||
QRegion center = toplevel->transparentRect();
|
||||
QRegion decoration = shape() - center;
|
||||
QRegion decoration = (client && Workspace::self()->decorationHasAlpha() ?
|
||||
QRegion(client->decorationRect()) : shape()) - center;
|
||||
ret = makeQuads(WindowQuadContents, contents);
|
||||
if (!client || !(center.isEmpty() || client->isShade()))
|
||||
ret += makeQuads(WindowQuadDecoration, decoration);
|
||||
|
|
Loading…
Reference in a new issue