2012-04-20 11:32:05 +02:00
|
|
|
Index: xorg-server-1.12.1/hw/xfree86/common/xf86DPMS.c
|
|
|
|
===================================================================
|
|
|
|
--- xorg-server-1.12.1.orig/hw/xfree86/common/xf86DPMS.c
|
|
|
|
+++ xorg-server-1.12.1/hw/xfree86/common/xf86DPMS.c
|
|
|
|
@@ -151,7 +151,8 @@ DPMSSet(ClientPtr client, int level)
|
|
|
|
rc = dixSaveScreens(client, SCREEN_SAVER_FORCER, ScreenSaverActive);
|
|
|
|
if (rc != Success)
|
|
|
|
return rc;
|
2008-11-28 16:10:51 +01:00
|
|
|
- }
|
|
|
|
+ } else
|
2012-04-20 11:32:05 +02:00
|
|
|
+ dixSaveScreens(client, SCREEN_SAVER_FORCER, ScreenSaverReset);
|
2008-11-28 16:10:51 +01:00
|
|
|
|
|
|
|
/* For each screen, set the DPMS level */
|
|
|
|
for (i = 0; i < xf86NumScreens; i++) {
|