fix for bug 25026 where context menus wouldn't show up on input fields because the refpoint part of the nsEvent was never copied from the clientX/Y of the nsIDOMEvent passed to us. r=akkana.

This commit is contained in:
pinkerton%netscape.com 2000-01-26 02:08:02 +00:00
parent dff11cdd46
commit 29d7ccb375

View File

@ -3503,6 +3503,8 @@ nsEnderEventListener::DispatchMouseEvent(nsIDOMMouseEvent *aEvent, PRInt32 aEven
aEvent->GetCtrlKey(&(event.isControl));
aEvent->GetAltKey(&(event.isAlt));
aEvent->GetMetaKey(&(event.isMeta));
aEvent->GetClientX(&(event.refPoint.x));
aEvent->GetClientY(&(event.refPoint.y));
PRUint16 clickCount;
aEvent->GetClickCount(&clickCount);