Don't unref a deleted window more than once.

svn path=/branches/work/kwin_composite/; revision=642067
remotes/origin/Plasma/5.0
Luboš Luňák 19 years ago
parent 13962741e8
commit 52afddcaeb
  1. 3
      effects/fade.cpp

@ -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…
Cancel
Save