KIdleTime : provide a settable resolution for the polling backends?

Martin Graesslin mgraesslin at kde.org
Tue Nov 17 07:49:45 UTC 2015


On Tuesday, November 17, 2015 8:42:31 AM CET Martin Graesslin wrote:
> On Monday, November 16, 2015 1:31:02 PM CET René J.V. Bertin wrote:
> > Hi,
> > 
> > Working on modernising the OS X plugin for KIdleTime, I realised that
> > there
> > is no mechanism foreseen to set the frequency at which the current system
> > idle time should be sampled on those platforms that need to use a polling
> > approach (OS X, MS Windows and apparently also XScreenSaver).
> 
> Maybe you see something which I do not: where does XScreenSaver use polling?

Ah found it. It's in the parent WidgetBasedPoller. I think that implementation 
already answers how you should do the polling, because it has an 
implementation for it. But nevertheless: please try to not poll.

Cheers
Martin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20151117/9f065e26/attachment-0001.sig>


More information about the Kde-frameworks-devel mailing list