BDirectWindow::SupportsWindowMode() doesn't check for hardware cursor support
|Reported by:||jua||Owned by:||jackburton|
|Keywords:||BDirectWindow hardware cursor||Cc:||rudolfc|
|Has a Patch:||no||Platform:||All|
According to the BeBook, windowed mode for BDirectWindow should only work when the graphics accelerant supports hardware cursors (see the documentation on BDirectWindow::SupportsWindowMode()).
SupportsWindowMode() is supposed to check for it, however, in Haiku it only looks for B_PARALLEL_ACCESS. Using a BDirectWindow without hardware cursor causes any drawing in it to even draw over the mouse cursor.
The attached patch adds B_HARDWARE_CURSOR to the check.