aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/packages/rpm/sle11/SOURCES/dpms_screensaver.diff
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/packages/rpm/sle11/SOURCES/dpms_screensaver.diff')
-rw-r--r--contrib/packages/rpm/sle11/SOURCES/dpms_screensaver.diff14
1 files changed, 14 insertions, 0 deletions
diff --git a/contrib/packages/rpm/sle11/SOURCES/dpms_screensaver.diff b/contrib/packages/rpm/sle11/SOURCES/dpms_screensaver.diff
new file mode 100644
index 00000000..6feee652
--- /dev/null
+++ b/contrib/packages/rpm/sle11/SOURCES/dpms_screensaver.diff
@@ -0,0 +1,14 @@
+Index: xorg-server-1.6.3.901/hw/xfree86/common/xf86DPMS.c
+================================================================================
+--- xorg-server-1.7.99/hw/xfree86/common/xf86DPMS.c
++++ xorg-server-1.7.99/hw/xfree86/common/xf86DPMS.c
+@@ -156,7 +156,8 @@
+ rc = dixSaveScreens(client, SCREEN_SAVER_FORCER, ScreenSaverActive);
+ if (rc != Success)
+ return rc;
+- }
++ } else
++ dixSaveScreens(client, SCREEN_SAVER_FORCER, ScreenSaverReset);
+
+ /* For each screen, set the DPMS level */
+ for (i = 0; i < xf86NumScreens; i++) {