diff options
| author | Louis Burda <quent.burda@gmail.com> | 2023-09-28 02:15:31 +0200 |
|---|---|---|
| committer | Louis Burda <quent.burda@gmail.com> | 2023-09-28 02:19:17 +0200 |
| commit | 5fa767f5f20a025793d4968f9421e946c1612c4b (patch) | |
| tree | 604bfb1dccef50cf8caee5bd0c4a22a9e8fe7ca4 /config.def.h | |
| parent | 370a6fe6e9c4fe8269c6f75a19c4d5159d7a51d6 (diff) | |
| download | slock-5fa767f5f20a025793d4968f9421e946c1612c4b.tar.gz slock-5fa767f5f20a025793d4968f9421e946c1612c4b.zip | |
Ignore initial control modifier keypresse
Diffstat (limited to 'config.def.h')
| -rw-r--r-- | config.def.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/config.def.h b/config.def.h index 81a55af..a329228 100644 --- a/config.def.h +++ b/config.def.h @@ -8,6 +8,9 @@ static const char *colorname[NUMCOLS] = { [FAILED] = "#CC3333", /* wrong password */ }; +/* allow control key to trigger fail on clear */ +static const int controlkeyclear = 0; + /* treat a cleared input like a wrong password (color) */ static const int failonclear = 1; |
