[Qt-interest] Qt and screensaver with X11

Bartosh Wroblevksy bartosh at live.com
Thu Oct 21 00:08:04 CEST 2010


One last question, do you know where, in what file this may be configured?

> From: cmakshin at gmail.com
> To: qt-interest at trolltech.com
> Date: Thu, 21 Oct 2010 01:35:49 +0400
> Subject: Re: [Qt-interest] Qt and screensaver with X11
> 
> Obviously, XActivateScreensaver() starts/activates the currently configured screensaver, not some "random" application.
> 
> On Thursday 21 October 2010 01:26:16 Bartosh Wroblevksy wrote:
> > 
> > Hi,
> > First off, thanks for the interest. 
> > And please bear with me, because this is very new to me. The X methods
> > 
> > XActivateScreenSaver(display) Display *displayand XSetScreenSaver(display, timeout, interval, prefer_blanking, allow_exposures)
> > programmed like this in this sequence:
> > 
> > int main(int argc, char *argv[]) {     XSetScreenSaver(display, 1000, 1000,  DontPreferBlanking                     , DefaultExposures );         XActivateScreenSaver(display);
> >    return 0; }
> > 
> > will activate a screensaver that is actually the X logo. But I wanted to know if the method XActivateScreenSaver(display) can activate a "hello world" QWidget instead.
> > Thanks,
> > Bartosh
> _______________________________________________
> Qt-interest mailing list
> Qt-interest at trolltech.com
> http://lists.trolltech.com/mailman/listinfo/qt-interest
 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20101020/297c7ed0/attachment.html 


More information about the Qt-interest-old mailing list