diff --git a/js/ui/unlockDialog.js b/js/ui/unlockDialog.js index a074c6fc4..16a0fe80d 100644 --- a/js/ui/unlockDialog.js +++ b/js/ui/unlockDialog.js @@ -648,10 +648,14 @@ var UnlockDialog = GObject.registerClass({ const themeContext = St.ThemeContext.get_for_stage(global.stage); for (const widget of this._backgroundGroup.get_children()) { - widget.get_effect('blur').set({ - brightness: BLUR_BRIGHTNESS, - sigma: BLUR_SIGMA * themeContext.scale_factor, - }); + const effect = widget.get_effect('blur'); + + if (effect) { + effect.set({ + brightness: BLUR_BRIGHTNESS, + sigma: BLUR_SIGMA * themeContext.scale_factor, + }); + } } }