From 179281b8913338d5b2dd26ee41f9708abf26c22e Mon Sep 17 00:00:00 2001 From: "smfr%smfr.org" Date: Wed, 24 Aug 2005 04:38:10 +0000 Subject: [PATCH] Followup for bug 168378: make sure it builds. git-svn-id: svn://10.0.0.236/trunk@178769 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/widget/src/cocoa/nsChildView.mm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mozilla/widget/src/cocoa/nsChildView.mm b/mozilla/widget/src/cocoa/nsChildView.mm index c37a8016d3c..a5d9e6e5263 100644 --- a/mozilla/widget/src/cocoa/nsChildView.mm +++ b/mozilla/widget/src/cocoa/nsChildView.mm @@ -2082,7 +2082,7 @@ nsChildView::DragEvent(PRUint32 aMessage, PRInt16 aMouseGlobalX, PRInt16 aMouseG // we're given the point in global coordinates. We need to convert it to // window coordinates for convert:message:toGeckoEvent - NSPoint dragLoc = NSMakePoint(globalXPos, globalYPos); + NSPoint dragLoc = NSMakePoint(aMouseGlobalX, aMouseGlobalY); // need to flip the point relative to the main screen if ([[NSScreen screens] count] > 0) // paranoia