diff --git a/js/gdm/authPrompt.js b/js/gdm/authPrompt.js index c26b1bcad..29170c555 100644 --- a/js/gdm/authPrompt.js +++ b/js/gdm/authPrompt.js @@ -424,7 +424,13 @@ var AuthPrompt = GObject.registerClass({ } updateSensitivity(sensitive) { + if (this._entry.reactive === sensitive) + return; + this._entry.reactive = sensitive; + + if (sensitive) + this._entry.grab_key_focus(); } vfunc_hide() {