[MPlayer-dev-eng] [PATCH] xscreensaver

D Richard Felker III dalias at aerifal.cx
Sat Mar 22 00:22:14 CET 2003


On Fri, Mar 21, 2003 at 09:35:59PM +0100, Tobias Diedrich wrote:
> Hi all,
> 
> because the xscreensaver fd inheritance problem always crops up again
> and again I tried to find a solution to the problem which is hopefully
> acceptable.
> 
> I extracted the code needed to send a 'ping' to xscreensaver from
> xscreensaver-command. It first looks for the xscreensaver window and if
> it was found it forks and sends the message to the xscreensaver window
> once every 30 seconds.
> 
> All in all this adds 114 lines of code. ^^;

And it makes a nice zombie process every time it pings. Beautiful. Is
there a reason this can't be done without forking???

Rich



More information about the MPlayer-dev-eng mailing list