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
icc-effect-5.14.5
Thomas Lübking 2012-03-16 18:53:19 +01:00
parent dd1b6cb05f
commit 1cedbe6c23
1 changed files with 1 additions and 2 deletions

View File

@ -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);
}
}