Force blackness view only when no saver was found. This fix pseudo-saver Blackness
that was broken by previous change. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39790 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -74,6 +74,7 @@ ScreenBlanker::ReadyToRun()
|
|||||||
fRunner->Run();
|
fRunner->Run();
|
||||||
} else {
|
} else {
|
||||||
fprintf(stderr, "could not load the screensaver addon\n");
|
fprintf(stderr, "could not load the screensaver addon\n");
|
||||||
|
fWindow->ChildAt(0)->SetViewColor(0, 0, 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
fWindow->SetFullScreen(true);
|
fWindow->SetFullScreen(true);
|
||||||
@@ -284,7 +285,7 @@ ScreenBlanker::_Shutdown()
|
|||||||
if (fWindow->Lock())
|
if (fWindow->Lock())
|
||||||
fWindow->Quit();
|
fWindow->Quit();
|
||||||
}
|
}
|
||||||
|
|
||||||
delete fRunner;
|
delete fRunner;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user