Discard window pixmap only if the window actually resizes.
svn path=/trunk/KDE/kdebase/workspace/; revision=787945
This commit is contained in:
parent
38291eb82c
commit
fb7f6b67e1
1 changed files with 2 additions and 1 deletions
|
@ -1707,7 +1707,8 @@ void Unmanaged::configureNotifyEvent( XConfigureEvent* e )
|
|||
addWorkspaceRepaint( geometry()); // damage old area
|
||||
QRect old = geom;
|
||||
geom = newgeom;
|
||||
discardWindowPixmap();
|
||||
if( old.size() != geom.size())
|
||||
discardWindowPixmap();
|
||||
if( scene != NULL )
|
||||
scene->windowGeometryShapeChanged( this );
|
||||
if( effects != NULL )
|
||||
|
|
Loading…
Reference in a new issue