mirror of
https://github.com/swaywm/sway.git
synced 2026-03-24 09:06:16 -04:00
Address review feedback from @emersion
This commit is contained in:
parent
053b51c3ff
commit
5d444b34f6
3 changed files with 31 additions and 25 deletions
|
|
@ -103,7 +103,8 @@ void swaylock_handle_key(struct swaylock_state *state,
|
|||
render_frames(state);
|
||||
wl_display_roundtrip(state->display);
|
||||
if (attempt_password(&state->password)) {
|
||||
exit(0);
|
||||
state->run_display = false;
|
||||
break;
|
||||
}
|
||||
state->auth_state = AUTH_STATE_INVALID;
|
||||
render_frames(state);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue