What’s my idle status?

There has been a raising demand for querying the system idle time. The Qxt team runs to help again! A new method, namely QxtWindowSystem::idleTime(), was introduced last week. The current implementation covers X11 and Windows platforms. And in case you’re curious about the implementation, we did it with help of XScreenSaver and GetLastInputInfo(), respectively. A Mac implementation will hopefully follow later. Furthermore, it would be nice to introduce a timeout service without polling the system idle time, but I haven’t had time to further investigate the issue yet. The current implementation is naturally available in the trunk, and will be released sometime later in LibQxt version 0.5.0. Enjoy!

Leave a Reply