diff --git a/js/gdm/loginDialog.js b/js/gdm/loginDialog.js index e5383a3a6..8e58adc22 100644 --- a/js/gdm/loginDialog.js +++ b/js/gdm/loginDialog.js @@ -409,7 +409,10 @@ var SessionMenuButton = GObject.registerClass({ }); var LoginDialog = GObject.registerClass({ - Signals: { 'failed': {} }, + Signals: { + 'failed': {}, + 'wake-up-screen': {}, + }, }, class LoginDialog extends St.Widget { _init(parentActor) { super._init({ style_class: 'login-dialog', visible: false }); diff --git a/js/ui/screenShield.js b/js/ui/screenShield.js index 871e8211c..38368c3d7 100644 --- a/js/ui/screenShield.js +++ b/js/ui/screenShield.js @@ -829,6 +829,8 @@ var ScreenShield = class { } this._dialog.connect('failed', this._onUnlockFailed.bind(this)); + this._wakeUpScreenId = this._dialog.connect( + 'wake-up-screen', this._wakeUpScreen.bind(this)); } this._dialog.allowCancel = allowCancel; diff --git a/js/ui/unlockDialog.js b/js/ui/unlockDialog.js index d413fcd33..a046c56f6 100644 --- a/js/ui/unlockDialog.js +++ b/js/ui/unlockDialog.js @@ -53,7 +53,10 @@ class UnlockDialogClock extends St.BoxLayout { }); var UnlockDialog = GObject.registerClass({ - Signals: { 'failed': {} }, + Signals: { + 'failed': {}, + 'wake-up-screen': {}, + }, }, class UnlockDialog extends St.Widget { _init(parentActor) { super._init({