Properly initialize.

svn path=/branches/work/kwin_composite/; revision=654855
This commit is contained in:
Luboš Luňák 2007-04-17 06:01:53 +00:00
parent 9f10a4aec0
commit 6a894c62c2

View file

@ -17,10 +17,10 @@ namespace KWin
KWIN_EFFECT( DimInactive, DimInactiveEffect )
DimInactiveEffect::DimInactiveEffect()
: active( NULL )
{
dim_panels = false; // TODO config option
dim_by_group = true; // TODO config option
active = effects->activeWindow();
}
void DimInactiveEffect::paintWindow( EffectWindow* w, int mask, QRegion region, WindowPaintData& data )