Don't use shadow for desktop and docks

svn path=/trunk/KDE/kdebase/workspace/; revision=704304
This commit is contained in:
Rivo Laks 2007-08-24 15:25:54 +00:00
parent 2d2fdb6675
commit 00a10f732b

View file

@ -46,7 +46,7 @@ void ShadowEffect::prePaintWindow( EffectWindow* w, WindowPrePaintData& data, in
void ShadowEffect::paintWindow( EffectWindow* w, int mask, QRegion region, WindowPaintData& data )
{
if( !w->isDeleted() )
if( !w->isDeleted() && !w->isDesktop() && !w->isDock() )
drawShadow( w, mask, region, data );
effects->paintWindow( w, mask, region, data );
}