#8614: BWindow::DecoratorFrame returns incorrect results --------------------------------+------------------------------ Reporter: hamish | Owner: axeld Type: bug | Status: new Priority: normal | Milestone: R1 Component: Kits/Interface Kit | Version: R1/Development Keywords: | Blocked By: Blocking: | Has a Patch: 0 Platform: All | --------------------------------+------------------------------ `BWindow::DecoratorFrame` returns the frame that the window would have if it were left-titled, even when it's not left-titled. The culprit is line 2141: http://cgit.haiku- os.org/haiku/tree/src/kits/interface/Window.cpp#n2141. `kWindowLeftTitledLook` is not a bit flag so the comparison should be `==`. Also `decoratorFrame.top`/`decoratorFrame.left` should take the border width into account in addition to the title width. -- Ticket URL: <http://dev.haiku-os.org/ticket/8614> Haiku <http://dev.haiku-os.org> Haiku - the operating system.