[Mono-list] Detecting user inactivity & Screensavers
Andy
andy at ninjagod.com
Mon Oct 26 12:18:46 EDT 2009
Hi,
I need to detect user inactivity in an app that doesn't have the user's
focus. It runs in the background and only processes when the user is active.
Since I couldn't find any direct API to determine the current state of the
screensaver, I thought I'd use P/Invokes to do that. I was using the XCB
Screensaver library, with the header file
http://xcb.freedesktop.org/manual/screensaver_8h-source.html .
I could really use some help on what library to use to detect a
screensaver/screen lock but ideally to detect input inactivity.
Thanks!
Anirudh
--
Fifth Year Undergrad - Indian Institute of Technology Kharagpur
http://anirudhsanjeev.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-list/attachments/20091026/b9ec9938/attachment.html
More information about the Mono-list
mailing list