Don't apply the scale in effect to utility windows either.

CCBUG: 170174

svn path=/trunk/KDE/kdebase/workspace/; revision=855784
This commit is contained in:
Lucas Murray 2008-09-01 12:55:41 +00:00
parent bda01b849c
commit 4064401382

View file

@ -62,7 +62,7 @@ void ScaleInEffect::paintWindow( EffectWindow* w, int mask, QRegion region, Wind
bool ScaleInEffect::isScaleWindow( EffectWindow* w ) bool ScaleInEffect::isScaleWindow( EffectWindow* w )
{ {
// TODO: isSpecialWindow is rather generic, maybe tell windowtypes separately? // TODO: isSpecialWindow is rather generic, maybe tell windowtypes separately?
if ( w->isPopupMenu() || w->isSpecialWindow() ) if ( w->isPopupMenu() || w->isSpecialWindow() || w->isUtility() )
return false; return false;
return true; return true;
} }