scene: Fix generation of decoration quads for Deleted

This commit is contained in:
Vlad Zahorodnii 2020-11-04 13:03:01 +02:00
parent c11da495f6
commit eab3062b32

View file

@ -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());