scene: Fix generation of decoration quads for Deleted
This commit is contained in:
parent
c11da495f6
commit
eab3062b32
1 changed files with 2 additions and 0 deletions
|
@ -981,6 +981,8 @@ WindowQuadList Scene::Window::buildQuads(bool force) const
|
|||
|
||||
if (AbstractClient *client = qobject_cast<AbstractClient *>(toplevel)) {
|
||||
client->layoutDecorationRects(rects[0], rects[1], rects[2], rects[3]);
|
||||
} else if (Deleted *deleted = qobject_cast<Deleted *>(deleted)) {
|
||||
deleted->layoutDecorationRects(rects[0], rects[1], rects[2], rects[3]);
|
||||
}
|
||||
|
||||
*ret += makeDecorationQuads(rects, decorationShape());
|
||||
|
|
Loading…
Reference in a new issue