[prev in list] [next in list] [prev in thread] [next in thread]
List: haiku-bugs
Subject: [haiku-bugs] [Haiku] #8614: BWindow::DecoratorFrame returns incorrect results
From: "hamish" <trac () haiku-os ! org>
Date: 2012-05-29 15:51:17
Message-ID: 041.b93e2219d5816b526a1df5ec307bf610 () haiku-os ! org
[Download RAW message or body]
#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.
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic