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:
parent
9fdf5bbb13
commit
3f9ae8a3ce
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user