From 492dfa88ca62de3f2e1b3eb14ddd3d383860da1a Mon Sep 17 00:00:00 2001 From: "pinkerton%netscape.com" Date: Wed, 26 Jan 2000 02:08:02 +0000 Subject: [PATCH] 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 --- mozilla/layout/html/forms/src/nsGfxTextControlFrame.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/mozilla/layout/html/forms/src/nsGfxTextControlFrame.cpp b/mozilla/layout/html/forms/src/nsGfxTextControlFrame.cpp index cfb716c2fc1..ea38276db5a 100644 --- a/mozilla/layout/html/forms/src/nsGfxTextControlFrame.cpp +++ b/mozilla/layout/html/forms/src/nsGfxTextControlFrame.cpp @@ -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);