[gnome-shell] gdmUtil: Fix auth prompt drawing over user list



commit 875a1d61595a90cd62d5d7798f47caa32d297ab4
Author: Ray Strode <rstrode redhat com>
Date:   Wed Jun 7 15:00:11 2017 -0400

    gdmUtil: Fix auth prompt drawing over user list
    
    If the user fails to enter their password then hits escape, we
    jump back to the user list, then ask again for a password in a
    garbled screen. this commit fixes that by guarding against the retry
    if the fail counter is reset.

 js/gdm/util.js |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/js/gdm/util.js b/js/gdm/util.js
index 6876cbe..03fd344 100644
--- a/js/gdm/util.js
+++ b/js/gdm/util.js
@@ -540,7 +540,8 @@ const ShellUserVerifier = new Lang.Class({
                 let signalId = this.connect('no-more-messages',
                                             Lang.bind(this, function() {
                                                 this.disconnect(signalId);
-                                                this._retry();
+                                                if (this._failCounter != 0)
+                                                    this._retry();
                                             }));
             }
         } else {


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]