Re: [XFree86] Beforelight screensaver is totally nonfunctional

2003-01-15 Thread Matthieu Herrb
Keith Packard wrote (in a message from Wednesday 15) > Around 23 o'clock on Jan 15, Matthieu Herrb wrote: > > > The patch below fixes that, by ignoring the BadValue error, but it > > still has a problem, since it can kill a random client started after > > the 1st instance of beforelight was k

Re: [XFree86] Beforelight screensaver is totally nonfunctional

2003-01-15 Thread Keith Packard
Around 23 o'clock on Jan 15, Matthieu Herrb wrote: > The patch below fixes that, by ignoring the BadValue error, but it > still has a problem, since it can kill a random client started after > the 1st instance of beforelight was killed. Any ideas on how to avoid > that ? Looks like the screen sa

Re: [XFree86] Beforelight screensaver is totally nonfunctional

2003-01-15 Thread Matthieu Herrb
[Switched to devel where this belongs ihmo] Ok, I think I understand the problem. Killing the beforelight client doesn't free the root window property _MIT_SCREEN_SAVER_ID, so it's still there when XScreenSaverGetRegistered() probes it. If the client is dead XKillClient() will indeed generate an e