mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-03 20:49:27 +00:00
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:
parent
dff11cdd46
commit
29d7ccb375
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user