screenshield: use the correct actor for the background

Commit 4fd690333a added the GLSL snippet to
the background actor, but then discarded the newly created actor.
This commit is contained in:
Cosimo Cecchi 2012-11-06 17:44:11 -05:00
parent e5f7390c09
commit b9d50584d8

View File

@ -409,7 +409,7 @@ const ScreenShield = new Lang.Class({
GLSL_BLUR_EFFECT_CODE,
true);
this._background = new St.Bin({ style_class: 'screen-shield-background',
child: Meta.BackgroundActor.new_for_screen(global.screen) });
child: backgroundActor });
this._lockScreenGroup.add_actor(this._background);
this._lockScreenGroup.add_actor(this._lockScreenContents);