diff options
| author | Hugo Osvaldo Barrera <hugo@whynothugo.nl> | 2022-09-02 18:42:49 +0200 |
|---|---|---|
| committer | Simon Ser <contact@emersion.fr> | 2023-04-14 09:55:19 +0200 |
| commit | 876965f944f127a32c0265bcaa47f716d9e1451b (patch) | |
| tree | 917123d03c7ab2cdec2077f919bd40a36a77f443 | |
| parent | 75e837c31abe2fa06167b6f1f1a253ab397faf81 (diff) | |
Accept input while validating
Allow typing new input while the previous one is validating. Can be
tested with:
ninja -C build && sway -c sway.conf
Where sway.config is:
exec ./build/swaylock
Fixes: https://github.com/swaywm/swaylock/issues/241
| -rw-r--r-- | password.c | 4 |
1 files changed, 0 insertions, 4 deletions
@@ -101,10 +101,6 @@ static void update_highlight(struct swaylock_state *state) { void swaylock_handle_key(struct swaylock_state *state, xkb_keysym_t keysym, uint32_t codepoint) { - // Ignore input events if validating - if (state->auth_state == AUTH_STATE_VALIDATING) { - return; - } switch (keysym) { case XKB_KEY_KP_Enter: /* fallthrough */ |
