Bug 243720. Dragging stuff into menus should use screenX to avoid ambiguous semantics of clientX in popups. r=timeless,sr=neil

This commit is contained in:
roc+%cs.cmu.edu 2004-07-18 11:26:53 +00:00
parent 04347abc77
commit 63bcb7774f

View File

@ -219,8 +219,8 @@ var BookmarksMenu = {
case "menu":
case "menuitem":
size = overButtonBoxObject.height;
coordValue = overButtonBoxObject.y-overParentBoxObject.y;
clientCoordValue = aEvent.clientY;
coordValue = overButtonBoxObject.screenY;
clientCoordValue = aEvent.screenY;
break;
default: return BookmarksUtils.DROP_ON;
}