Damage also the old area on geometry changes.

svn path=/branches/work/kwin_composite/; revision=628608
This commit is contained in:
Luboš Luňák 2007-01-30 16:52:05 +00:00
parent 7cb649edcb
commit 77719858b0

View file

@ -1644,6 +1644,7 @@ void Unmanaged::configureNotifyEvent( XConfigureEvent* e )
QRect newgeom( e->x, e->y, e->width, e->height );
if( newgeom == geom )
return;
workspace()->addDamage( geometry()); // damage old area
geom = newgeom;
if( scene != NULL )
scene->windowGeometryShapeChanged( this );