* Setting to the saver full screen and back is no longer needed when the

password window shows up (this avoids getting the Deskbar to front when
  the password window shows up).
* Automatic whitespace cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28238 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Axel Dörfler
2008-10-19 13:15:58 +00:00
parent c1e7c02d9e
commit 310a9c9e21
+1 -4
View File
@@ -120,12 +120,11 @@ ScreenBlanker::_ShowPasswordWindow()
if (fWindow->Lock()) { if (fWindow->Lock()) {
fRunner->Suspend(); fRunner->Suspend();
if (fWindow->SetFullScreen(false) == B_OK) {
fWindow->Sync(); fWindow->Sync();
// TODO: is that needed? // TODO: is that needed?
ShowCursor(); ShowCursor();
fPasswordWindow->Show(); fPasswordWindow->Show();
}
fWindow->Unlock(); fWindow->Unlock();
} }
@@ -228,10 +227,8 @@ ScreenBlanker::MessageReceived(BMessage* message)
case kMsgResumeSaver: case kMsgResumeSaver:
if (fWindow->Lock()) { if (fWindow->Lock()) {
if (fWindow->SetFullScreen(true) == B_OK) {
HideCursor(); HideCursor();
fPasswordWindow->Hide(); fPasswordWindow->Hide();
}
fRunner->Resume(); fRunner->Resume();
fWindow->Unlock(); fWindow->Unlock();