From 6f199dc746bd377223e9bec60467c9060d1048ff Mon Sep 17 00:00:00 2001 From: Phil Jones Date: Sun, 31 Oct 2021 22:16:40 +0000 Subject: Add actual greetd functionality. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Useable, but very barebones — not even any error message reporting. --- src/entry.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/entry.h') diff --git a/src/entry.h b/src/entry.h index b1b9670..f487410 100644 --- a/src/entry.h +++ b/src/entry.h @@ -6,7 +6,7 @@ #include "image.h" #include "surface.h" -#define MAX_PASSWORD_LENGTH 256 +#define MAX_PASSWORD_LENGTH 64 struct entry { struct surface surface; @@ -22,7 +22,9 @@ struct entry { wchar_t password[MAX_PASSWORD_LENGTH]; /* Assume maximum of 4 bytes per wchar_t (for UTF-8) */ char password_mb[4*MAX_PASSWORD_LENGTH]; + char password_mb_print[4*MAX_PASSWORD_LENGTH]; uint32_t password_length; + bool password_visible; /* Options */ uint32_t font_size; -- cgit v1.2.3