BDirectWindow::GetClippingRect : wrong behaviour
|Reported by:||jua||Owned by:||jackburton|
|Has a Patch:||yes||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.