diff options
author | Phil Jones <philj56@gmail.com> | 2021-10-31 22:16:40 +0000 |
---|---|---|
committer | Phil Jones <philj56@gmail.com> | 2021-10-31 23:12:07 +0000 |
commit | 6f199dc746bd377223e9bec60467c9060d1048ff (patch) | |
tree | acce570009d48e3efa6a1232c37070c1e0f456c8 /src/entry.h | |
parent | 7297ac5d9cac676ed6cd4552a6b47204f9db2512 (diff) |
Add actual greetd functionality.
Useable, but very barebones — not even any error message reporting.
Diffstat (limited to 'src/entry.h')
-rw-r--r-- | src/entry.h | 4 |
1 files changed, 3 insertions, 1 deletions
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; |