[haiku-bugs] [Haiku] #9185: BDirectWindow::SupportsWindowMode() doesn't check for hardware cursor support

  • From: "jua" <trac@xxxxxxxxxxxx>
  • Date: Sun, 18 Nov 2012 18:28:27 -0000

#9185: BDirectWindow::SupportsWindowMode() doesn't check for hardware cursor
support
-------------------------------------------+---------------------------
 Reporter:  jua                            |        Owner:  jackburton
     Type:  bug                            |       Status:  new
 Priority:  normal                         |    Milestone:  R1
Component:  Kits/Game Kit                  |      Version:  R1/alpha4.1
 Keywords:  BDirectWindow hardware cursor  |   Blocked By:
 Blocking:                                 |  Has a Patch:  0
 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.

-- 
Ticket URL: <http://dev.haiku-os.org/ticket/9185>
Haiku <http://dev.haiku-os.org>
Haiku - the operating system.

Other related posts: