Here is my patch.
--- energy.cpp~ 2006-12-05 23:12:07.000000000 -0200 +++ energy.cpp 2006-12-05 23:15:14.000000000 -0200 @@ -77,8 +77,8 @@ #endif
static const int DFLT_STANDBY = 0; -static const int DFLT_SUSPEND = 30; -static const int DFLT_OFF = 60; +static const int DFLT_SUSPEND = 1800; +static const int DFLT_OFF = 3600;
/**** DLL Interface ****/ @@ -340,7 +340,7 @@ if (hasDPMS) { if (enable) { DPMSEnable(dpy); - DPMSSetTimeouts(dpy, 60*standby, 60*suspend, 60*off); + DPMSSetTimeouts(dpy, standby, suspend, off); } else DPMSDisable(dpy); } else
Here is my patch.
--- energy.cpp~ 2006-12-05 23:12:07.000000000 -0200
+++ energy.cpp 2006-12-05 23:15:14.000000000 -0200
@@ -77,8 +77,8 @@
#endif
static const int DFLT_STANDBY = 0;
-static const int DFLT_SUSPEND = 30;
-static const int DFLT_OFF = 60;
+static const int DFLT_SUSPEND = 1800;
+static const int DFLT_OFF = 3600;
/**** DLL Interface ****/
DPMSEnabl e(dpy); (dpy, 60*standby, 60*suspend, 60*off); (dpy, standby, suspend, off);
DPMSDisab le(dpy) ;
@@ -340,7 +340,7 @@
if (hasDPMS) {
if (enable) {
- DPMSSetTimeouts
+ DPMSSetTimeouts
} else
} else