From 6a894c62c239d1b749e3057b02427f7fc1261dd9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lubo=C5=A1=20Lu=C5=88=C3=A1k?= Date: Tue, 17 Apr 2007 06:01:53 +0000 Subject: [PATCH] Properly initialize. svn path=/branches/work/kwin_composite/; revision=654855 --- effects/diminactive.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/effects/diminactive.cpp b/effects/diminactive.cpp index 957ee25a0f..1e76964112 100644 --- a/effects/diminactive.cpp +++ b/effects/diminactive.cpp @@ -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 )