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