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);
|
a_session->swrite_l(enable);
|
||||||
Flush();
|
Flush();
|
||||||
|
|
||||||
// TODO: read back status from the app server,
|
status_t fullScreen;
|
||||||
// and set the full_screen_enable variable accordingly
|
a_session->sread(sizeof(status_t), &fullScreen);
|
||||||
|
a_session->sread(sizeof(status_t), &status);
|
||||||
Unlock();
|
Unlock();
|
||||||
|
|
||||||
|
full_screen_enable = (fullScreen == B_OK);
|
||||||
}
|
}
|
||||||
return status;
|
return status;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user