https://bugs.kde.org/show_bug.cgi?id=357032

--- Comment #11 from Thomas Lübking <thomas.luebk...@gmail.com> ---
Sorry for the delay.

Does this fix it?

diff --git a/scene.cpp b/scene.cpp
index e673853..ad5ca6d 100644
--- a/scene.cpp
+++ b/scene.cpp
@@ -825,9 +825,8 @@ WindowQuadList Scene::Window::buildQuads(bool force) const
         AbstractClient *client = dynamic_cast<AbstractClient*>(toplevel);
         QRegion contents = clientShape();
         QRegion center = toplevel->transparentRect();
-        QRegion decoration = (client && true ?
-                              QRegion(client->decorationRect()) : shape()) -
center;
-        ret = makeQuads(WindowQuadContents, contents,
client->clientContentPos());
+        QRegion decoration = (client ? QRegion(client->decorationRect()) :
shape()) - center;
+        ret = makeQuads(WindowQuadContents, contents,
toplevel->clientContentPos());

         QRect rects[4];
         bool isShadedClient = false;

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to