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
|
addWorkspaceRepaint( geometry()); // damage old area
|
||||||
QRect old = geom;
|
QRect old = geom;
|
||||||
geom = newgeom;
|
geom = newgeom;
|
||||||
discardWindowPixmap();
|
if( old.size() != geom.size())
|
||||||
|
discardWindowPixmap();
|
||||||
if( scene != NULL )
|
if( scene != NULL )
|
||||||
scene->windowGeometryShapeChanged( this );
|
scene->windowGeometryShapeChanged( this );
|
||||||
if( effects != NULL )
|
if( effects != NULL )
|
||||||
|
|
Loading…
Reference in a new issue