commit 3f8b0a12c34328c3cd6f8897cd48e34930b09319 parent ad680b40192f665dd7af4d62ab6996318e275cb6 Author: Ingo Bürk <admin@airblader.de> Date: Thu, 23 Aug 2018 14:50:20 +0200 Merge pull request #192 from layus/fast-type Keep only the last attempt for retry_verification Diffstat:
| M | i3lock.c | | | 6 | ++++++ |
1 file changed, 6 insertions(+), 0 deletions(-) diff --git a/i3lock.c b/i3lock.c @@ -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) {
