Package: libsdl1.2debian
Version: 1.2.13-1
One feature that was added in SDL 1.2.12 was the
SDL_VIDEO_ALLOW_SCREENSAVER environment variable. Usually, SDL tries to
disable the screensaver and power-saving and re-enable them later. The
environment variable variable was supposed to allow you to turn that
behaviour off. This didn't work as documented in SDL 1.2.12, but was fixed
in SDL 1.2.13. The bugfix was to read the environment variable before
(maybe) disabling the screensaver, not (as SDL 1.2.12 did) after.
Unfortunately, the Debian packages unfix this by patching
src/video/x11/SDL_x11video.c so that the environment variable is once
again tested too late. Since this appears to be the only Debian change to
this file, I guess that part of the patch was generated by mistake.
The result is that if SDL_VIDEO_ALLOW_SCREENSAVER is 1, the screensaver is
still turned off when an SDL application is started, but it is not turned
back on when the SDL application terminates. The easiest way to see this
is probably to check the DPMS settings with the "xset q" command.
I don't think XScreenSaver cares about these screensaver settings, but the
KDE screensaver does.
I hope that made sense. It's really much too late at night for me to write
bug reports. :-)
Sincerely,
Torbjörn Andersson