KIdleTime library

Lubos Lunak l.lunak at suse.cz
Mon Jul 6 01:46:25 BST 2009


Dne neděle 05 července 2009 19:33:43 Dario Freddi napsal(a):
> On Sunday 05 July 2009 19:05:30 Tom Albers wrote:
> > Not sure if you are using XScreenSaverQueryInfo( QX11Info::display(),
> > QX11Info::appRootWindow(), _mit_info ); calls. But if you do, please note
> > that there is a bug in X that sets the idle time to 0 when the dpms kicks
> > in. The library should work around that bug to give a proper idleTime().
>
> No problem: I'm using the way more efficient XSync for linux. No polling
> and no bugs :)

 And no support for older systems. I think you cannot use just the XSYNC 
counter, it's fairly new. Using XSCREENSAVER as a fallback should be good 
enough.

-- 
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 kde-core-devel mailing list