[MPlayer-cygwin] Stopping the screensaver in windows

Sylvain Petreolle spetreolle at yahoo.fr
Sun Aug 7 02:41:20 CEST 2005


--- Sascha Sommer <saschasommer at freenet.de> a écrit :

> On Friday 05 August 2005 18:32, Joey Parrish wrote:
> > 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.
> >
> 
> Ok dropped the idea then.
> 
> Sascha
> 
Couldnt we simulate a keystroke/mouse movement then ?

Kind regards,

Usurp (aka Sylvain Petreolle)

humans are like computers,
yesterday the BIOS was all
- today its just a word




More information about the MPlayer-cygwin mailing list