[PATCH] Update xflock4 (Bug 10217) again

Guido Berhoerster gber at opensuse.org
Thu Mar 19 09:06:54 CET 2015


* Alexander Mezin <mezin.alexander at gmail.com> [2015-03-18 21:30]:
> Based on patch by Jarno Suni.
> 
> - Use pgrep instead of pidof, which is, hopefully, available
> everywhere.
> - Check screensavers running under current uid only.

Process names are never a reliable way to check for the
screensaver running in the currently active session even if you
restrict it to a user. See comment #22 on that bug for the way
forward.
-- 
Guido Berhoerster


More information about the Xfce4-dev mailing list