Scene::buildQuads can operate on AbstractClient for decoration handling
This commit is contained in:
parent
f112b0b052
commit
a82daabfe9
1 changed files with 1 additions and 1 deletions
|
@ -822,7 +822,7 @@ WindowQuadList Scene::Window::buildQuads(bool force) const
|
|||
if (toplevel->clientPos() == QPoint(0, 0) && toplevel->clientSize() == toplevel->decorationRect().size())
|
||||
ret = makeQuads(WindowQuadContents, shape()); // has no decoration
|
||||
else {
|
||||
Client *client = dynamic_cast<Client*>(toplevel);
|
||||
AbstractClient *client = dynamic_cast<AbstractClient*>(toplevel);
|
||||
QRegion contents = clientShape();
|
||||
QRegion center = toplevel->transparentRect();
|
||||
QRegion decoration = (client && true ?
|
||||
|
|
Loading…
Reference in a new issue