#9182: BDirectWindow::GetClippingRect : wrong behaviour -------------------------------------------+------------------------------ Reporter: jua | Owner: jackburton Type: bug | Status: new Priority: normal | Milestone: R1 Component: Kits/Game Kit | Version: R1/Development Keywords: BDirectWindow GetClippingRect | Blocked By: Blocking: | Has a Patch: 0 Platform: All | -------------------------------------------+------------------------------ As discussed on the mailing list, the behaviour of BDirectWindow::GetClippingRect() is different than what is described in the BeBook. The BeBook says it must be called from within BDirectWindow::DirectConnected() and fails otherwise -- the current implementation does the exact opposite. I've tested it by inverting the expression in the if-statement and it seems to work fine so far. Attaching a patch with the fix. -- Ticket URL: <http://dev.haiku-os.org/ticket/9182> Haiku <http://dev.haiku-os.org> Haiku - the operating system.