KIdleTime library

Dario Freddi drf54321 at
Mon Jul 6 08:21:49 BST 2009

On Monday 06 July 2009 02:46:25 Lubos Lunak wrote:
> 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.

Correct, that's exactly how it works. However, I've just made a commit. There 
is an example now, demostrating how the library works. On Linux is already 
pretty solid, as soon as I'll get the chance to test it on windows, I'll move 
it to kdereview


Dario Freddi
KDE Developer
GPG Key Signature: 511A9A3B
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part.
URL: <>

More information about the kde-core-devel mailing list