diff options
author | Matthieu Herrb <matthieu@cvs.openbsd.org> | 2010-04-06 22:09:10 +0000 |
---|---|---|
committer | Matthieu Herrb <matthieu@cvs.openbsd.org> | 2010-04-06 22:09:10 +0000 |
commit | 4764b6ecfe13d1704f115865861e1208b9b783fe (patch) | |
tree | 8b5fc46c2d957e1d432838594549124e8d7a1dde /app/xdm/greeter/Login.c | |
parent | 72f0eaeb862cc8b509bc38b18bb518c3b6556a7e (diff) |
ifdef out the new code that moves the cursor one pixel to the right
for each char during password input. Requested by deraadt@.
Diffstat (limited to 'app/xdm/greeter/Login.c')
-rw-r--r-- | app/xdm/greeter/Login.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/app/xdm/greeter/Login.c b/app/xdm/greeter/Login.c index 65ab1852f..071213b3b 100644 --- a/app/xdm/greeter/Login.c +++ b/app/xdm/greeter/Login.c @@ -460,9 +460,11 @@ realizeCursor (LoginWidget w, GC gc) } break; case LOGIN_PROMPT_ECHO_OFF: +#ifndef __OpenBSD__ /* Move cursor one pixel per character to give some feedback without giving away the password length */ x += PROMPT_CURSOR(w, w->login.activePrompt); +#endif break; } |