Do not try to validate an empty password with XF86ScreenSaver
Patch status: superseded
Patch by Vincent Bernat
When the XF86ScreenSaver key is used to put a laptop to sleep (or to trigger the screensaver), the key may "bounce" on resume. This is annoying as i3lock will try to validate several empty passwords and wait several seconds before accepting a legit password. Some users may want to validate an empty password: PAM may rely on other sources to unlock the screen, like the presence of a token or the proximity of some Bluetooth device. Hence, we don't forbid this possibility. The intersection of the users validating their password with XF86ScreenSaver and those using a device for password validation should be small enough to not exist until they come up with another patch.
To apply this patch, use:
curl http://cr.i3wm.org/patch/206/raw.patch | git am