Crash less

BUG: 216908

svn path=/trunk/KDE/kdebase/workspace/; revision=1056931
This commit is contained in:
Martin Gräßlin 2009-12-01 09:31:47 +00:00
parent a9d4dc0c68
commit 279b3d07f8

View file

@ -482,7 +482,7 @@ WindowQuadList Scene::Window::buildQuads( bool force ) const
{
Client *client = dynamic_cast<Client*>( 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 );