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

Ismail Donmez ismail at pardus.org.tr
Mon Apr 10 19:49:16 CEST 2006


Pazartesi 10 Nisan 2006 18:46 tarihinde, Ismail Donmez şunları yazmıştı: 
> Pazartesi 10 Nisan 2006 18:31 tarihinde, Ismail Donmez şunları yazmıştı:
> > 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). Also should it disable the current hacks if using this new
> > > function succeeds?
> >
> > Here is a better/cleaner patch using a configure check.
>
> Simpler patch without getenv stuff.

Simpler version without XOpenDisplay , suggested by fredrik.

Please review.

Regards,
ismail

-- 
<Terwou> \\o \o> <o/ o//
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mplayer.patch
Type: text/x-diff
Size: 2827 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20060410/f149475f/attachment.patch>
-------------- 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/f149475f/attachment.pgp>


More information about the MPlayer-dev-eng mailing list