If you want to have it, for feedback that's visible to the user but
harder to shoulder-surf, enable echoPasswd and set the echoPasswdChar
to empty/space.

Signed-off-by: Alan Coopersmith <[email protected]>
---
 greeter/Login.c |    6 ------
 1 files changed, 0 insertions(+), 6 deletions(-)

diff --git a/greeter/Login.c b/greeter/Login.c
index 18a3f86..5bc8c05 100644
--- a/greeter/Login.c
+++ b/greeter/Login.c
@@ -495,12 +495,6 @@ realizeCursor (LoginWidget w, GC gc)
 
            x += len*TEXT_WIDTH(text, w->login.echo_passwd_char, 1);
        }
-       else
-       {
-           /* Move cursor one pixel per character to give some feedback
-              without giving away the password length */
-           x += PROMPT_CURSOR(w, w->login.activePrompt);
-       }
        break;
     }
 
-- 
1.7.3.2

_______________________________________________
[email protected]: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: http://lists.x.org/mailman/listinfo/xorg-devel

Reply via email to