summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Lübking <thomas.luebking@gmail.com>2012-03-04 06:48:28 (GMT)
committerThomas Lübking <thomas.luebking@gmail.com>2012-03-07 19:53:38 (GMT)
commit96b8a1d356b125990356c6667aa489961140a784 (patch)
tree7b1d59498dd6936f81ba9abb62826ce3242d307f
parente9dcf1a8d1c9e2a6b15982293a207e15b1116179 (diff)
fix shading for xrender compositing
REVIEW: 104150
-rw-r--r--kwin/scene_xrender.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/kwin/scene_xrender.cpp b/kwin/scene_xrender.cpp
index e7dd355..b2a11c8 100644
--- a/kwin/scene_xrender.cpp
+++ b/kwin/scene_xrender.cpp
@@ -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());