Finished SetFullscreen() implementation
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7058 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -287,9 +287,12 @@ BDirectWindow::SetFullScreen(bool enable)
|
||||
a_session->swrite_l(enable);
|
||||
Flush();
|
||||
|
||||
// TODO: read back status from the app server,
|
||||
// and set the full_screen_enable variable accordingly
|
||||
status_t fullScreen;
|
||||
a_session->sread(sizeof(status_t), &fullScreen);
|
||||
a_session->sread(sizeof(status_t), &status);
|
||||
Unlock();
|
||||
|
||||
full_screen_enable = (fullScreen == B_OK);
|
||||
}
|
||||
return status;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user