summaryrefslogtreecommitdiff
path: root/app/xdm/greeter/Login.c
diff options
context:
space:
mode:
authorMatthieu Herrb <matthieu@cvs.openbsd.org>2010-04-06 22:09:10 +0000
committerMatthieu Herrb <matthieu@cvs.openbsd.org>2010-04-06 22:09:10 +0000
commit4764b6ecfe13d1704f115865861e1208b9b783fe (patch)
tree8b5fc46c2d957e1d432838594549124e8d7a1dde /app/xdm/greeter/Login.c
parent72f0eaeb862cc8b509bc38b18bb518c3b6556a7e (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.c2
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;
}