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:
parent
7228e9aefd
commit
6234357675
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue