Fixing keyboard events with full page plugins on Mac bug 143316 r=av sr=attinasi

git-svn-id: svn://10.0.0.236/trunk@121610 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
peterlubczynski%netscape.com
2002-05-16 06:43:03 +00:00
parent 59663c21ba
commit b2403a4a88

View File

@@ -1295,7 +1295,6 @@ nsEventStatus pluginInstanceOwner::ProcessEvent(const nsGUIEvent& anEvent)
//if (mWidget != NULL) { // check for null mWidget
EventRecord* event = (EventRecord*)anEvent.nativeMsg;
if (event == NULL || event->what == nullEvent ||
anEvent.message == NS_KEY_PRESS ||
anEvent.message == NS_CONTEXTMENU_MESSAGE_START) {
EventRecord macEvent;
GUItoMacEvent(anEvent, macEvent);