[MPlayer-dev-eng] [PATCH] Use XScreenSaverSuspend if supported

Ismail Donmez ismail at pardus.org.tr
Mon Apr 10 16:55:56 CEST 2006


Pazartesi 10 Nisan 2006 17:55 tarihinde, Uoti Urpala şunları yazmıştı: 
> On Mon, 2006-04-10 at 17:37 +0300, Ismail Donmez wrote:
> > X.org 7.1 will feature a new function called, XScreenSaverSuspend which
> > can suspend/resume screensavers. This is way more better than the current
> > hacks we have. The patch is by Fredrik Höglund  ( fredrik at kde.org ), I
> > am proxying for him since he is not subscribed.
>
> This needs a configure check to see whether the extension is available
> (<X11/extensions/scrnsaver.h> is not available on my current system for
> example). 

Will do that, maybe just checking XScreenSaverSuspend is available is a better 
idea.

> Also should it disable the current hacks if using this new 
> function succeeds?

it returns just after XScreenSaverSuspend so it already disables other hacks.

Regards,
ismail


-- 
<Terwou> \\o \o> <o/ o//
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 191 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20060410/16914257/attachment.pgp>


More information about the MPlayer-dev-eng mailing list