fix shading for xrender compositing

REVIEW: 104150
This commit is contained in:
Thomas Lübking 2012-03-04 07:48:28 +01:00
parent c885d88f28
commit 3e4cb7539e

View file

@ -724,7 +724,7 @@ XRenderComposite(display(), PictOpOver, m_xrenderShadow->shadowPixmap(SceneXRend
}
#undef RENDER_SHADOW_TILE
if (!(mask & PAINT_DECORATION_ONLY)) {
if (!((mask & PAINT_DECORATION_ONLY) || (client && client->isShade()))) {
// Paint the window contents
Picture clientAlpha = opaque ? None : alphaMask(data.opacity);
XRenderComposite(display(), clientRenderOp, pic, clientAlpha, renderTarget, cr.x(), cr.y(), 0, 0, dr.x(), dr.y(), dr.width(), dr.height());