Fixing #3022, by enabling the Blackness screensaver by default, with a delay of 15
minutes. The screen will go off after 20. This was recommended by Axel :) Kudos to the screensaver kit developers for putting the default settings in one place. I have also added comments to make the settings more understandable. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29467 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -111,17 +111,28 @@ ScreenSaverSettings::Defaults()
|
|||||||
{
|
{
|
||||||
fWindowFrame = BRect(96.5, 77.0, 542.5, 402);
|
fWindowFrame = BRect(96.5, 77.0, 542.5, 402);
|
||||||
fWindowTab = 0;
|
fWindowTab = 0;
|
||||||
fTimeFlags = SAVER_DISABLED;
|
fTimeFlags = ENABLE_SAVER;
|
||||||
fBlankTime = 120*1000000LL;
|
|
||||||
fStandByTime = 120*1000000LL;
|
// Times are in microseconds = seconds * 1000000LL
|
||||||
fSuspendTime = 120*1000000LL;
|
fBlankTime = 900*1000000LL; // 15 minutes
|
||||||
fOffTime = 120*1000000LL;
|
|
||||||
|
// All these times are referenced from after the above, i.e. when the screen
|
||||||
|
// saver is running. So standby will start 5 minutes after the screen saver.
|
||||||
|
fStandByTime = 300*1000000LL; // 5 minutes
|
||||||
|
fSuspendTime = 300*1000000LL; // 5 minutes
|
||||||
|
fOffTime = 300*1000000LL; // 5 minutes
|
||||||
|
|
||||||
fBlankCorner = NO_CORNER;
|
fBlankCorner = NO_CORNER;
|
||||||
fNeverBlankCorner = NO_CORNER;
|
fNeverBlankCorner = NO_CORNER;
|
||||||
|
|
||||||
fLockEnabled = false;
|
fLockEnabled = false;
|
||||||
fPasswordTime = 120*1000000LL;
|
// This time is NOT referenced to when the screen saver starts, but to when
|
||||||
|
// idle time starts, like fBlankTime. By default it is the same as
|
||||||
|
// fBlankTime.
|
||||||
|
fPasswordTime = 900*1000000LL; // 15 minutes
|
||||||
fPassword = "";
|
fPassword = "";
|
||||||
fLockMethod = "custom";
|
fLockMethod = "custom";
|
||||||
|
|
||||||
fModuleName = "";
|
fModuleName = "";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user