fix shading for xrender compositing
REVIEW: 104150
This commit is contained in:
parent
c885d88f28
commit
3e4cb7539e
1 changed files with 1 additions and 1 deletions
|
@ -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());
|
||||
|
|
Loading…
Reference in a new issue