[MPlayer-dev-eng] [PATCH] Use XScreenSaverSuspend if supported
Ismail Donmez
ismail at pardus.org.tr
Tue Apr 11 22:06:00 CEST 2006
Salı 11 Nisan 2006 00:46 tarihinde, Uoti Urpala şunları yazmıştı:
> On Mon, 2006-04-10 at 20:49 +0300, Ismail Donmez wrote:
> > Simpler version without XOpenDisplay , suggested by fredrik.
>
> This also removes the runtime checks that were in the original. Doesn't
> this mean that if compiled with support for XScreenSaverSuspend, MPlayer
> would fail to disable screensaver when running under an older X server?
Here is a better(best? ;) patch which checks if the extension is supported.
Check is done in vo_init hence should be better than checking everytime
calling saver_on/off .
Please review/comment.
Regards,
ismail
--
<Terwou> \\o \o> <o/ o//
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mplayer.patch
Type: text/x-diff
Size: 3921 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20060411/0bd1013a/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/20060411/0bd1013a/attachment.pgp>
More information about the MPlayer-dev-eng
mailing list