Don't use shadow for desktop and docks
svn path=/trunk/KDE/kdebase/workspace/; revision=704304
This commit is contained in:
parent
2d2fdb6675
commit
00a10f732b
1 changed files with 1 additions and 1 deletions
|
@ -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 );
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue