diff --git a/effects/blur/blur.cpp b/effects/blur/blur.cpp index 3b10b9bc42..1873c69c81 100644 --- a/effects/blur/blur.cpp +++ b/effects/blur/blur.cpp @@ -61,10 +61,15 @@ BlurEffect::BlurEffect() } else { XDeleteProperty(display(), rootWindow(), net_wm_blur_region); } + connect(effects, SIGNAL(windowAdded(KWin::EffectWindow*)), this, SLOT(slotWindowAdded(KWin::EffectWindow*))); connect(effects, SIGNAL(windowDeleted(KWin::EffectWindow*)), this, SLOT(slotWindowDeleted(KWin::EffectWindow*))); connect(effects, SIGNAL(propertyNotify(KWin::EffectWindow*,long)), this, SLOT(slotPropertyNotify(KWin::EffectWindow*,long))); connect(effects, SIGNAL(screenGeometryChanged(QSize)), this, SLOT(slotScreenGeometryChanged())); + + // Fetch the blur regions for all windows + foreach (EffectWindow *window, effects->stackingOrder()) + updateBlurRegion(window); } BlurEffect::~BlurEffect()