effects/blur: Fix tracking of blur region after compositing restart

updateBlurRegion() doesn't setup a
SurfaceInterface::blurChanged() signal connection. slotWindowAdded()
does that.
This commit is contained in:
Vlad Zahorodnii 2021-11-16 13:57:31 +02:00
parent 6234357675
commit e605ea0c46

View file

@ -64,7 +64,7 @@ BlurEffect::BlurEffect()
// Fetch the blur regions for all windows // Fetch the blur regions for all windows
const auto stackingOrder = effects->stackingOrder(); const auto stackingOrder = effects->stackingOrder();
for (EffectWindow *window : stackingOrder) { for (EffectWindow *window : stackingOrder) {
updateBlurRegion(window); slotWindowAdded(window);
} }
} }