Finished SetFullscreen() implementation

git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7058 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Stefano Ceccherini
2004-03-23 07:19:07 +00:00
parent cdae4b7cf1
commit bfc3bb1838
+5 -2
View File
@@ -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;
}