Merge pull request #192 from layus/fast-type

Keep only the last attempt for retry_verification
pull/197/merge
Ingo Bürk 2018-08-23 14:50:20 +02:00 committed by GitHub
commit 3f8b0a12c3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 0 deletions

View File

@ -445,6 +445,12 @@ static void handle_key_press(xcb_key_press_event_t *event) {
return;
default:
skip_repeated_empty_password = false;
// A new password is being entered, but a previous one is pending.
// Discard the old one and clear the retry_verification flag.
if (retry_verification) {
retry_verification = false;
clear_input();
}
}
switch (ksym) {