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:
Rene Gollent
2008-10-15 01:59:39 +00:00
parent b06a5d91f9
commit 1138737b87
+1 -1
View File
@@ -1459,7 +1459,7 @@ BView::GetMouse(BPoint *_location, uint32 *_buttons, bool checkMessageQueue)
fOwner->fLink->Read<uint32>(&buttons); fOwner->fLink->Read<uint32>(&buttons);
// TODO: ServerWindow replies with an int32 here // TODO: ServerWindow replies with an int32 here
ConvertFromScreen(location); ConvertFromScreen(&location);
// TODO: in beos R5, location is already converted to the view // TODO: in beos R5, location is already converted to the view
// local coordinate system, so if an app checks the window message // local coordinate system, so if an app checks the window message
// queue by itself, it might not find what it expects. // queue by itself, it might not find what it expects.