aboutsummaryrefslogtreecommitdiff
path: root/sway/commands/mode.c
diff options
context:
space:
mode:
authorMilkey Mouse <milkeymouse@meme.institute>2018-12-20 12:32:36 -0800
committeremersion <contact@emersion.fr>2018-12-23 12:08:03 +0100
commit82b0296964d58e7029dc3775f58abe7a7fd51ec8 (patch)
treefd9867fc880bb08e1d253e0e7098019a06de9911 /sway/commands/mode.c
parent9877189ea3574625e165202c61a497bdaeb46656 (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/mode.c')
0 files changed, 0 insertions, 0 deletions