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

Reimar Döffinger Reimar.Doeffinger at stud.uni-karlsruhe.de
Tue Apr 11 00:03:31 CEST 2006


Hi,
On Tue, Apr 11, 2006 at 12:46:18AM +0300, Uoti Urpala wrote:
> 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?

Huh? I'd think this can't be helped since the function (and actually the
whole lib?) will not be available then. Or am I missing something? At
least I am not a fan on dlopen hacks (despite the fact that I used them
for OpenGL as well...)

Greetings,
Reimar Döffinger




More information about the MPlayer-dev-eng mailing list