Followup for bug 168378: make sure it builds.

git-svn-id: svn://10.0.0.236/trunk@178769 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
smfr%smfr.org
2005-08-24 04:38:10 +00:00
parent ace5576aa1
commit 179281b891

View File

@@ -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