diff options
author | Milkey Mouse <milkeymouse@meme.institute> | 2018-12-20 12:32:36 -0800 |
---|---|---|
committer | emersion <contact@emersion.fr> | 2018-12-23 12:08:03 +0100 |
commit | 82b0296964d58e7029dc3775f58abe7a7fd51ec8 (patch) | |
tree | fd9867fc880bb08e1d253e0e7098019a06de9911 /sway/commands/focus.c | |
parent | 9877189ea3574625e165202c61a497bdaeb46656 (diff) |
swaylock: Submit password on Ctrl-D
Ctrl-D functions as EOF in most cases on the terminal. login(1) & many other
programs check the password on EOF, same as Enter. To make behavior consistent,
have swaylock submit the password on Ctrl-D.
This commit moves the handling for Enter into its own static function, which is
now also called on Ctrl-D.
Diffstat (limited to 'sway/commands/focus.c')
0 files changed, 0 insertions, 0 deletions