Don't disable desktop from painting.

svn path=/branches/work/kwin_composite/; revision=654361
This commit is contained in:
Luboš Luňák 2007-04-15 21:42:36 +00:00
parent 257ce3ad99
commit f8c84d4310

View file

@ -111,7 +111,7 @@ void PresentWindowsEffect::prePaintWindow( EffectWindow* w, int* mask, QRegion*
else
windata.hover = qMax(0.0f, windata.hover - time / hoverchangetime);
}
else
else if( !w->isDesktop())
w->disablePainting( EffectWindow::PAINT_DISABLED );
}
effects->prePaintWindow( w, mask, paint, clip, time );