From 55a75da8937d0f368d1eae7fc693acd1094d7c8f Mon Sep 17 00:00:00 2001 From: Philipp Knechtges Date: Tue, 7 Feb 2012 10:41:40 +0100 Subject: [PATCH] kwin: fixing xrender shadow bug This fixes a xrender shadow bug, which was introduced in commmit 7a8398f80ec0aa67ed1102cded2bbb45d7736ecb. Many thx to Jacopo De Simoi. --- scene_xrender.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scene_xrender.cpp b/scene_xrender.cpp index dea424a6e2..bff2a7e17b 100644 --- a/scene_xrender.cpp +++ b/scene_xrender.cpp @@ -605,7 +605,7 @@ void SceneXrender::Window::performPaint(int mask, QRegion region, WindowPaintDat PaintClipper pcreg(region); // clip by the region to paint PaintClipper pc(transformed_shape); // clip by window's shape - const bool wantShadow = m_shadow && !m_shadow->shadowRegion().isEmpty() && isOpaque(); + const bool wantShadow = m_shadow && !m_shadow->shadowRegion().isEmpty(); // In order to obtain a pixel perfect rescaling // we need to blit the window content togheter with