Preventing screensaver when playing movie?

Lubos Lunak l.lunak at suse.cz
Thu Mar 6 06:39:38 PST 2008


On Wednesday 05 of March 2008, mcnichol at austin.ibm.com wrote:
> > From: "Scott J. Harmon" <harmon at ksu.edu>
> >
> > I don't know much about the internals of the X server, but doesn't it
> > need to keep track of clients so that when they are killed memory and
> > other resources are released?  Why would the screensaver suspend be any
> > different.  IMO, the app should call XScreenSaverSuspend(True) *once*
> > (not 30 frames per second).  And then either call
> > XScreenSaverSuspend(False) when it is done, or simply exit and let X
> > clean up.
>
> Ok, so what happens when 2 different clients use XScreenSaverSuspend(True).
> What happens when one of them terminates.... ??

 Nothing. Read its documentation (manpage). Of course, given that the 
extension is a bit broken, that's just theory here.

-- 
Lubos Lunak
KDE developer
--------------------------------------------------------------
SUSE LINUX, s.r.o.   e-mail: l.lunak at suse.cz , l.lunak at kde.org
Lihovarska 1060/12   tel: +420 284 028 972
190 00 Prague 9      fax: +420 284 028 951
Czech Republic       http//www.suse.cz



More information about the xorg mailing list