Add repaint for the new position of the window as well.

svn path=/trunk/KDE/kdebase/workspace/; revision=742661
This commit is contained in:
Rivo Laks 2007-11-28 15:02:29 +00:00
parent 2de13954d1
commit 491445fb65

View file

@ -1739,6 +1739,7 @@ void Client::setGeometry( int x, int y, int w, int h, ForceGeometry_t force )
static_cast<EffectsHandlerImpl*>(effects)->windowGeometryShapeChanged( effectWindow(), geom_before_block );
}
addWorkspaceRepaint( geom_before_block );
addWorkspaceRepaint( geom );
geom_before_block = geom;
}
@ -1807,6 +1808,7 @@ void Client::plainResize( int w, int h, ForceGeometry_t force )
if( effects != NULL )
static_cast<EffectsHandlerImpl*>(effects)->windowGeometryShapeChanged( effectWindow(), geom_before_block );
addWorkspaceRepaint( geom_before_block );
addWorkspaceRepaint( geom );
geom_before_block = geom;
}