Fix crash.
svn path=/trunk/KDE/kdebase/workspace/; revision=728490
This commit is contained in:
parent
211bbc95ba
commit
76a9bdcc85
1 changed files with 2 additions and 0 deletions
|
@ -548,6 +548,8 @@ void Toplevel::addWorkspaceRepaint( const QRect& r2 )
|
|||
{
|
||||
if( !compositing())
|
||||
return;
|
||||
if( effectWindow() == NULL ) // TODO - this can happen during window destruction
|
||||
return workspace()->addRepaint( r2 );
|
||||
QRect r = effects->transformWindowDamage( effectWindow(), r2 );
|
||||
workspace()->addRepaint( r );
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue