screenShield: Pop the modal immediately
Allow people to start typing immediately after unlocking their session, rather than having to wait for a transition. https://bugzilla.gnome.org/show_bug.cgi?id=700847
This commit is contained in:
parent
9a79c71e88
commit
a259016436
@ -1133,6 +1133,14 @@ const ScreenShield = new Lang.Class({
|
|||||||
if (Main.sessionMode.currentMode == 'unlock-dialog')
|
if (Main.sessionMode.currentMode == 'unlock-dialog')
|
||||||
Main.sessionMode.popMode('unlock-dialog');
|
Main.sessionMode.popMode('unlock-dialog');
|
||||||
|
|
||||||
|
if (this._dialog && !this._isGreeter)
|
||||||
|
this._dialog.popModal();
|
||||||
|
|
||||||
|
if (this._isModal) {
|
||||||
|
Main.popModal(this.actor);
|
||||||
|
this._isModal = false;
|
||||||
|
}
|
||||||
|
|
||||||
Tweener.addTween(this._lockDialogGroup, {
|
Tweener.addTween(this._lockDialogGroup, {
|
||||||
scale_x: 0,
|
scale_x: 0,
|
||||||
scale_y: 0,
|
scale_y: 0,
|
||||||
@ -1150,12 +1158,6 @@ const ScreenShield = new Lang.Class({
|
|||||||
}
|
}
|
||||||
|
|
||||||
this._lightbox.hide();
|
this._lightbox.hide();
|
||||||
|
|
||||||
if (this._isModal) {
|
|
||||||
Main.popModal(this.actor);
|
|
||||||
this._isModal = false;
|
|
||||||
}
|
|
||||||
|
|
||||||
this.actor.hide();
|
this.actor.hide();
|
||||||
|
|
||||||
if (this._becameActiveId != 0) {
|
if (this._becameActiveId != 0) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user