monitors wake up if xflock4 run from hotkey
xflock4 contains the following code (added in commit e4312c49):
# Wait a bit so that user have time to raise finger from a key if
# the script is run in terminal.
[ -t 0 ] && sleep 1
[ -t 0 ]
tests if the code is being run in a terminal and, if so, sleeps for 1 second. However, xflock4 can be run by hotkeys (e.g. ctrl-alt-delete) from the desktop, which has the same wakeup issue as running from the shell. Therefore, the sleep 1
should be unconditional.
Edited by Chris Bainbridge