[MPlayer-cygwin] Stopping the screensaver in windows

Joey Parrish joey at nicewarrior.org
Fri Aug 5 18:32:21 CEST 2005


On Fri, Aug 05, 2005 at 04:44:04PM +0200, deje at miki.hu wrote:
> Sorry for bothering but I think registry changes like this should be
> avoided greatly, and use windows api calls instead - it is much more
> portable. Anyway directx driver includes the ability to disable
> screensaver, which works well, other drivers miss it. The main reason is
> that when windows tries to start screensaver, it sends a win message to
> the message handler of the process, asking whether it can start it or
> not. This is the clean and preferred way (vo_directx works this way),
> and this method should be implemented in other output drivers also.
> I personally don't like when a user program changes system settings,
> because it may hang and won't reset that setting after killing it.
> That is my opinion about this.

I agree.

--Joey

-- 
"Sometimes you just have to bow to the absurd." --Picard




More information about the MPlayer-cygwin mailing list