This commit is contained in:
smlx 2018-07-07 08:54:18 +00:00 committed by GitHub
commit 3942b8c0df
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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;