Matthieu Moy schrob: > I can still see the bug, and applying the patch already attached to this bug > report fixes it. Attached is a slightly updated patch, if it helps: I didn't > modify the patch, but just fixed some conflict while applying it to the latest > version.
In case you (Pelle) prefer a less invasive patch, here's my take on the
problem. It treats the Xorg blanking as another aspect of dpms, rather
than as another screensaver.
I doubt that has practical implications though, as we've not seen anyone
complain about Xorg blanking kicking in with an alternative screensaver
installed.
cheers,
Jan
--
() ascii ribbon campaign - against html e-mail
/\ www.asciiribbon.org - against proprietary attachments
--- /usr/bin/xdg-screensaver 2009-01-02 18:53:08.000000000 +0100
+++ ./xdg-screensaver 2009-08-04 13:23:56.000000000 +0200
@@ -403,12 +403,12 @@
if [ -f "$screensaver_file.dpms" ]; then
rm "$screensaver_file.dpms"
# Re-enable DPMS
- xset +dpms
+ xset +dpms s on
fi
fi
if [ "$1" = "reset" ] ; then
if xset -q | grep 'DPMS is Enabled' > /dev/null 2> /dev/null; then
- xset dpms force on
+ xset dpms force on s on
fi
fi
@@ -433,7 +433,7 @@
tmpfile=`mktemp $TMPDIR/tmp.XXXXXXXXXX`
$MV "$tmpfile" "$screensaver_file.dpms"
# Disable DPMS
- xset -dpms
+ xset -dpms s off
fi
fi
signature.asc
Description: Digital signature

