From e5d030d87369a433ca4cb4940c07206f6893a35c Mon Sep 17 00:00:00 2001 From: "pinkerton%netscape.com" Date: Thu, 9 Sep 1999 06:26:58 +0000 Subject: [PATCH] correctly set target of dragenter/exit events. --- content/xul/content/src/nsXULElement.cpp | 3 ++- rdf/content/src/nsRDFElement.cpp | 3 ++- rdf/content/src/nsXULElement.cpp | 3 ++- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/content/xul/content/src/nsXULElement.cpp b/content/xul/content/src/nsXULElement.cpp index ac88ca3e2f9c..e34cd7118702 100644 --- a/content/xul/content/src/nsXULElement.cpp +++ b/content/xul/content/src/nsXULElement.cpp @@ -2815,7 +2815,8 @@ RDFElementImpl::HandleDOMEvent(nsIPresContext& aPresContext, GetTagName(tagName); if (aEvent->message == NS_MENU_ACTION || aEvent->message == NS_MENU_CREATE || aEvent->message == NS_MENU_DESTROY || aEvent->message == NS_FORM_SELECTED || - aEvent->message == NS_FORM_CHANGE || + aEvent->message == NS_FORM_CHANGE || aEvent->message == NS_DRAGDROP_ENTER || + aEvent->message == NS_DRAGDROP_EXIT || tagName == "menu" || tagName == "menuitem" || tagName == "menubar" || tagName == "key" || tagName == "keyset") { nsCOMPtr listenerManager; diff --git a/rdf/content/src/nsRDFElement.cpp b/rdf/content/src/nsRDFElement.cpp index ac88ca3e2f9c..e34cd7118702 100644 --- a/rdf/content/src/nsRDFElement.cpp +++ b/rdf/content/src/nsRDFElement.cpp @@ -2815,7 +2815,8 @@ RDFElementImpl::HandleDOMEvent(nsIPresContext& aPresContext, GetTagName(tagName); if (aEvent->message == NS_MENU_ACTION || aEvent->message == NS_MENU_CREATE || aEvent->message == NS_MENU_DESTROY || aEvent->message == NS_FORM_SELECTED || - aEvent->message == NS_FORM_CHANGE || + aEvent->message == NS_FORM_CHANGE || aEvent->message == NS_DRAGDROP_ENTER || + aEvent->message == NS_DRAGDROP_EXIT || tagName == "menu" || tagName == "menuitem" || tagName == "menubar" || tagName == "key" || tagName == "keyset") { nsCOMPtr listenerManager; diff --git a/rdf/content/src/nsXULElement.cpp b/rdf/content/src/nsXULElement.cpp index ac88ca3e2f9c..e34cd7118702 100644 --- a/rdf/content/src/nsXULElement.cpp +++ b/rdf/content/src/nsXULElement.cpp @@ -2815,7 +2815,8 @@ RDFElementImpl::HandleDOMEvent(nsIPresContext& aPresContext, GetTagName(tagName); if (aEvent->message == NS_MENU_ACTION || aEvent->message == NS_MENU_CREATE || aEvent->message == NS_MENU_DESTROY || aEvent->message == NS_FORM_SELECTED || - aEvent->message == NS_FORM_CHANGE || + aEvent->message == NS_FORM_CHANGE || aEvent->message == NS_DRAGDROP_ENTER || + aEvent->message == NS_DRAGDROP_EXIT || tagName == "menu" || tagName == "menuitem" || tagName == "menubar" || tagName == "key" || tagName == "keyset") { nsCOMPtr listenerManager;