From 1cedbe6c2332b0948645ea1357bc30c1b09a6df6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thomas=20L=C3=BCbking?= Date: Fri, 16 Mar 2012 18:53:19 +0100 Subject: [PATCH] fix new shadow update repaints resetting is no longer needed with philip layer changes and actually breaks damages on simultaneous resizes also use addLayerRepaint for the shadow update REVIEW: 104306 --- toplevel.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/toplevel.cpp b/toplevel.cpp index e6323f0244..60662c96ac 100644 --- a/toplevel.cpp +++ b/toplevel.cpp @@ -381,9 +381,8 @@ void Toplevel::getShadow() if (hasShadow()) dirtyRect |= shadow()->shadowRegion().boundingRect(); if (dirtyRect.isValid()) { - resetRepaints(); dirtyRect.translate(pos()); - workspace()->addRepaint(dirtyRect); + addLayerRepaint(dirtyRect); } }