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

updateContrastRegion() doesn't setup a
SurfaceInterface::contrastChanged() signal connection. slotWindowAdded()
does that.
This commit is contained in:
Vlad Zahorodnii 2021-11-16 13:56:27 +02:00
parent 7228e9aefd
commit 6234357675

View file

@ -54,7 +54,7 @@ ContrastEffect::ContrastEffect()
// Fetch the contrast regions for all windows
const EffectWindowList windowList = effects->stackingOrder();
for (EffectWindow *window : windowList) {
updateContrastRegion(window);
slotWindowAdded(window);
}
}