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.
git-svn-id: svn://10.0.0.236/trunk@58700 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user