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:
@@ -292,7 +292,10 @@ BDirectWindow::SetFullScreen(bool enable)
|
|||||||
a_session->sread(sizeof(status_t), &status);
|
a_session->sread(sizeof(status_t), &status);
|
||||||
Unlock();
|
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;
|
return status;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user