[Qt-interest] Qt and screensaver with X11

Constantin Makshin cmakshin at gmail.com
Wed Oct 20 23:35:49 CEST 2010


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



More information about the Qt-interest-old mailing list