[xmonad] 'resetScreenSaver' from 'Graphics.X11.Xlib.Misc'
Brandon Allbery
allbery.b at gmail.com
Wed Jan 21 13:14:35 UTC 2015
On Wed, Jan 21, 2015 at 1:22 AM, Dontdie YCH <dontdieych at gmail.com> wrote:
> But it does not working. I didn't know how I directly deal with X11
> lib. Fortunately, I found 'resetScreenSaver' from
> 'Graphics.X11.Xlib.Misc' that say interface to XResetScreenSaver().
>
resetScreenSaver is a one-shot operation that turns off any currently
running screen saver by resetting the no-activity timer. If you want to
keep the screen saver off, you need a thread that periodically calls
resetScreenSaver, perhaps once every 30 seconds.
--
brandon s allbery kf8nh sine nomine associates
allbery.b at gmail.com ballbery at sinenomine.net
unix, openafs, kerberos, infrastructure, xmonad http://sinenomine.net
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/xmonad/attachments/20150121/bf8deef3/attachment.html>
More information about the xmonad
mailing list