From 279b3d07f86d8697c8fe2f378da997db062f0c9a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Gr=C3=A4=C3=9Flin?= Date: Tue, 1 Dec 2009 09:31:47 +0000 Subject: [PATCH] Crash less BUG: 216908 svn path=/trunk/KDE/kdebase/workspace/; revision=1056931 --- scene.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scene.cpp b/scene.cpp index bd047229c4..69e2afc677 100644 --- a/scene.cpp +++ b/scene.cpp @@ -482,7 +482,7 @@ WindowQuadList Scene::Window::buildQuads( bool force ) const { Client *client = dynamic_cast( toplevel ); QRegion contents = clientShape(); - QRegion center = client->transparentRect(); + QRegion center = toplevel->transparentRect(); QRegion decoration = (client && Workspace::self()->decorationHasAlpha() ? QRegion(client->decorationRect()) : shape()) - center; ret = makeQuads( WindowQuadContents, contents );