Looks like SetFullScreen wasn't correct and could crash.

Fixed.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8295 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Stefano Ceccherini 2004-07-05 07:11:22 +00:00
parent 9fdf5bbb13
commit 3f9ae8a3ce
1 changed files with 4 additions and 1 deletions

View File

@ -292,7 +292,10 @@ BDirectWindow::SetFullScreen(bool enable)
a_session->sread(sizeof(status_t), &status);
Unlock();
full_screen_enable = (fullScreen == B_OK);
// TODO: Revisit this when we move to our app_server
// Currently the full screen/window status is set
// even if something goes wrong
full_screen_enable = enable;
}
return status;
}