Don't unref a deleted window more than once.
svn path=/branches/work/kwin_composite/; revision=642067
This commit is contained in:
parent
13962741e8
commit
52afddcaeb
1 changed files with 3 additions and 0 deletions
|
@ -42,7 +42,10 @@ void FadeEffect::prePaintWindow( EffectWindow* w, int* mask, QRegion* region, in
|
|||
if( !windows[ w ].isFading())
|
||||
{
|
||||
if( windows[ w ].deleted )
|
||||
{
|
||||
static_cast< Deleted* >( w->window())->unrefWindow();
|
||||
windows.remove( w );
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue