From 3e4cb7539e6712f8e43df5c078a24c73c625a7d5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thomas=20L=C3=BCbking?= Date: Sun, 4 Mar 2012 07:48:28 +0100 Subject: [PATCH] fix shading for xrender compositing REVIEW: 104150 --- scene_xrender.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scene_xrender.cpp b/scene_xrender.cpp index e7dd355660..b2a11c863e 100644 --- a/scene_xrender.cpp +++ b/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());