void-packages/srcpkgs/xautolock
Peter Bui 23de10612c xautolock: add patch to fix silent failure on -restart command (#1325)
If you run 'xautolock' instead of '/usr/bin/xautolock', execv will fail
because it cannot found the path to the program when the -restart
command is requested.  Use execvp instead of execv, which will search
the environmental PATH to find the program, thus allowing you to just
run 'xautolock' rather than the full path.

This fixes the bug where playing a video with mpv accidently kills your
screenlocker since it calls xdg-screensaver reset, which in turn calls
xautolock -restart.
2018-08-01 19:25:33 +02:00
..
patches
template