xdg-screensaver: bad xautolock invocation for reset action
Submitted by François Charlier
Assigned to Portland Bugs
xdg-screensaver invokes a xautolock with a wrong parameter for the reset action.
Currently it executes: "xautolock -restart"
To do what the manpage says, it should instead execute: "xautolock -unlocknow"
Calling with '-restart' causes some issues where xautolock will not work correctly after the call.
From xdg-screensaver manpage:
reset Turns the screensaver off immediately. If the screen was locked the user may be asked to authenticate first.
From xautolock manpage:
-restart Causes an already running xautolock process (if there is one and it does not have -secure switched on) to restart. -unlocknow Causes an already running xautolock process (if there is one, if it does not have -secure switched on, and is not currently disabled) to unlock the display immediately (if it's locked) by sending the locker a SIGTERM signal.