[AD] [ alleg-Bugs-2219580 ] al_inhibit_screensaver

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


Bugs item #2219580, was opened at 2008-11-03 17:48
Message generated for change (Comment added) made by stevenvi
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105665&aid=2219580&group_id=5665

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: 4.9
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Peter Wang (tjaden)
Assigned to: Nobody/Anonymous (nobody)
Summary: al_inhibit_screensaver

Initial Comment:
implement for X11, OSX

On X11 use xdg-screensaver.

----------------------------------------------------------------------

Comment By: Steven Wallace (stevenvi)
Date: 2008-11-03 23:11

Message:
I don't know if xdg-screensaver will work out of the box for X11.  When
running this script, it takes the window id as a parameter when suspending
the screen saver.  It is supposed to watch this window, and when the window
closes, resume the screen saver's function.  With my current Linux
installation, this is not the case.  It keeps the screen saver disabled
long after closing the program.

I have been playing with it for a while, but cannot get it to resume the
screen saver.  When (if?) someone can figure this out, here is a patch:

http://pastebin.bafserv.com/2762

(Sorry, I wasn't sure how to attach the patch to this comment.)

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105665&aid=2219580&group_id=5665




Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/