Properly initialize.
svn path=/branches/work/kwin_composite/; revision=654855icc-effect-5.14.5
parent
9f10a4aec0
commit
6a894c62c2
|
@ -17,10 +17,10 @@ namespace KWin
|
||||||
KWIN_EFFECT( DimInactive, DimInactiveEffect )
|
KWIN_EFFECT( DimInactive, DimInactiveEffect )
|
||||||
|
|
||||||
DimInactiveEffect::DimInactiveEffect()
|
DimInactiveEffect::DimInactiveEffect()
|
||||||
: active( NULL )
|
|
||||||
{
|
{
|
||||||
dim_panels = false; // TODO config option
|
dim_panels = false; // TODO config option
|
||||||
dim_by_group = true; // TODO config option
|
dim_by_group = true; // TODO config option
|
||||||
|
active = effects->activeWindow();
|
||||||
}
|
}
|
||||||
|
|
||||||
void DimInactiveEffect::paintWindow( EffectWindow* w, int mask, QRegion region, WindowPaintData& data )
|
void DimInactiveEffect::paintWindow( EffectWindow* w, int mask, QRegion region, WindowPaintData& data )
|
||||||
|
|
Loading…
Reference in New Issue