Fix display of the "verifying" message in swaylock.

This commit is contained in:
Scott Leggett 2018-06-06 21:32:28 +10:00
parent b1e72461cf
commit a2ec576f5a

View file

@ -97,6 +97,7 @@ void swaylock_handle_key(struct swaylock_state *state,
case XKB_KEY_Return:
state->auth_state = AUTH_STATE_VALIDATING;
damage_state(state);
wl_display_dispatch(state->display);
wl_display_roundtrip(state->display);
if (attempt_password(&state->password)) {
state->run_display = false;