screenShield: fix trace back when unlocking session from another vt
commit 1d374ac8bd
introduced a bug that
prevents unlock from working when initiated from another VT
(user switching).
This commit fixes the exception raised.
https://bugzilla.gnome.org/show_bug.cgi?id=708105
This commit is contained in:
parent
1d374ac8bd
commit
4e8c476153
@ -920,8 +920,10 @@ const ScreenShield = new Lang.Class({
|
|||||||
this._lockScreenState = MessageTray.State.HIDDEN;
|
this._lockScreenState = MessageTray.State.HIDDEN;
|
||||||
this._lockScreenGroup.hide();
|
this._lockScreenGroup.hide();
|
||||||
|
|
||||||
this._dialog.actor.grab_key_focus();
|
if (this._dialog) {
|
||||||
this._dialog.actor.navigate_focus(null, Gtk.DirectionType.TAB_FORWARD, false);
|
this._dialog.actor.grab_key_focus();
|
||||||
|
this._dialog.actor.navigate_focus(null, Gtk.DirectionType.TAB_FORWARD, false);
|
||||||
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
_hideLockScreen: function(animate, velocity) {
|
_hideLockScreen: function(animate, velocity) {
|
||||||
|
Loading…
Reference in New Issue
Block a user