Fix regression introduced in r28116: Due to the change in variable names, the
wrong version of ConvertFromScreen() was now used, resulting in the calculation being computed and thrown away. This broke BMenu, probably amongst other things. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28118 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -1459,7 +1459,7 @@ BView::GetMouse(BPoint *_location, uint32 *_buttons, bool checkMessageQueue)
|
||||
fOwner->fLink->Read<uint32>(&buttons);
|
||||
// TODO: ServerWindow replies with an int32 here
|
||||
|
||||
ConvertFromScreen(location);
|
||||
ConvertFromScreen(&location);
|
||||
// TODO: in beos R5, location is already converted to the view
|
||||
// local coordinate system, so if an app checks the window message
|
||||
// queue by itself, it might not find what it expects.
|
||||
|
||||
Reference in New Issue
Block a user