SupportsWindowMode now always return true, at least for the moment. Chart works with DirectWindow in window mode even with the vesa driver

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15797 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Stefano Ceccherini 2006-01-02 15:10:43 +00:00
parent e6c149ddd1
commit bf9071ee27

View File

@ -291,12 +291,16 @@ BDirectWindow::IsFullScreen() const
bool
BDirectWindow::SupportsWindowMode(screen_id id)
{
display_mode mode;
/* display_mode mode;
status_t status = BScreen(id).GetMode(&mode);
if (status == B_OK)
return mode.flags & B_PARALLEL_ACCESS;
return false;
return false;*/
// TODO: Apparently, the above is false for the vesa driver,
// but enabling it doesn't do any harm... maybe we should just return always true.
// At least, I can't see why window mode shouldn't be supported.
return true;
}