aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/packages/rpm/sle11/SOURCES/dpms_screensaver.diff
blob: 6feee65297db189b748d2c10ad354a27b48b8983 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
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++) {