mirror of
https://github.com/swaywm/sway.git
synced 2026-04-05 07:15:41 -04:00
Move extra roundtrip into password.c
This commit is contained in:
parent
d2d050d59c
commit
0138f79b4a
2 changed files with 1 additions and 1 deletions
|
|
@ -101,6 +101,7 @@ void swaylock_handle_key(struct swaylock_state *state,
|
|||
case XKB_KEY_Return:
|
||||
state->auth_state = AUTH_STATE_VALIDATING;
|
||||
render_frames(state);
|
||||
wl_display_roundtrip(state->display);
|
||||
if (attempt_password(&state->password)) {
|
||||
exit(0);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue