From 1138737b87f501727cb1fcf9c2a0d8f96909831d Mon Sep 17 00:00:00 2001 From: Rene Gollent Date: Wed, 15 Oct 2008 01:59:39 +0000 Subject: [PATCH] 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 --- src/kits/interface/View.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/kits/interface/View.cpp b/src/kits/interface/View.cpp index 32abf8c32b..8cc100963d 100644 --- a/src/kits/interface/View.cpp +++ b/src/kits/interface/View.cpp @@ -1459,7 +1459,7 @@ BView::GetMouse(BPoint *_location, uint32 *_buttons, bool checkMessageQueue) fOwner->fLink->Read(&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.