From eab3062b325b6b96b3caaf675e18a465d0e4b323 Mon Sep 17 00:00:00 2001 From: Vlad Zahorodnii Date: Wed, 4 Nov 2020 13:03:01 +0200 Subject: [PATCH] scene: Fix generation of decoration quads for Deleted --- scene.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scene.cpp b/scene.cpp index cd27da297b..af8a958d10 100644 --- a/scene.cpp +++ b/scene.cpp @@ -981,6 +981,8 @@ WindowQuadList Scene::Window::buildQuads(bool force) const if (AbstractClient *client = qobject_cast(toplevel)) { client->layoutDecorationRects(rects[0], rects[1], rects[2], rects[3]); + } else if (Deleted *deleted = qobject_cast(deleted)) { + deleted->layoutDecorationRects(rects[0], rects[1], rects[2], rects[3]); } *ret += makeDecorationQuads(rects, decorationShape());