Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[xsrc/trunk]: xsrc/external/mit/xdm/dist/greeter Respect the outer border wid...
details: https://anonhg.NetBSD.org/xsrc/rev/772c334454a5
branches: trunk
changeset: 10300:772c334454a5
user: mlelstv <mlelstv%NetBSD.org@localhost>
date: Fri Jun 07 04:29:02 2019 +0000
description:
Respect the outer border width for sizing the widget horizontally.
Add it twice so that the greeting text can neither trash nor touch
the border.
diffstat:
external/mit/xdm/dist/greeter/Login.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diffs (12 lines):
diff -r 4d278b44fa15 -r 772c334454a5 external/mit/xdm/dist/greeter/Login.c
--- a/external/mit/xdm/dist/greeter/Login.c Fri Jun 07 04:00:43 2019 +0000
+++ b/external/mit/xdm/dist/greeter/Login.c Fri Jun 07 04:29:02 2019 +0000
@@ -345,7 +345,7 @@
#define FAIL_W(w) max(ERROR_W(w, w->login.failMsg), \
ERROR_W(w, w->login.passwdChangeMsg))
-#define PAD_X(w) (2 * (PROMPT_X(w) + max (GREET_X_INC(w), FAIL_X_INC(w))))
+#define PAD_X(w) (2 * (PROMPT_X(w) + max (GREET_X_INC(w), FAIL_X_INC(w)) + 4*w->login.outframewidth))
#define PAD_Y(w) (max (max (Y_INC(w), GREET_Y_INC(w)),\
FAIL_Y_INC(w)))
Home |
Main Index |
Thread Index |
Old Index