]> git.sur5r.net Git - i3/i3lock/commit
Ignore empty passwd after repeated Enter keypress
authorVytautas Ĺ altenis <vytas@rtfb.lt>
Mon, 10 Mar 2014 20:02:27 +0000 (22:02 +0200)
committerMichael Stapelberg <michael@stapelberg.de>
Sun, 23 Mar 2014 09:07:03 +0000 (10:07 +0100)
commit4ff1d7fc5cba5ade2545f3d31b5efdf799d4cbe3
treeea34cc9b603b0416d4240dc7c1ee1cee98e2ae03
parent178b858116ffcc3fa266669559861a91bf50a0ad
Ignore empty passwd after repeated Enter keypress

When no ignore_empty_password flag is specified, but Enter key is held
down for some time, i3lock enters a finite, but hours-long loop
verifying empty password. Don't do that, skip empty password
verification if nothing was pressed after last Enter keypress.

Again, making the software cat-proof.
i3lock.c