Fix for Mac plugins getting double mouse events. bug 58814 r=av sr=waterson rtm++

This commit is contained in:
bnesse%netscape.com 2000-11-03 23:57:24 +00:00
Родитель d10f0c1b9f
Коммит 5965d104d8
2 изменённых файлов: 4 добавлений и 0 удалений

Просмотреть файл

@ -1344,7 +1344,9 @@ nsObjectFrame::HandleEvent(nsIPresContext* aPresContext,
case NS_MOUSE_MOVE: case NS_MOUSE_MOVE:
case NS_MOUSE_ENTER: case NS_MOUSE_ENTER:
case NS_MOUSE_LEFT_BUTTON_UP: case NS_MOUSE_LEFT_BUTTON_UP:
#ifndef XP_MAC
case NS_MOUSE_LEFT_BUTTON_DOWN: case NS_MOUSE_LEFT_BUTTON_DOWN:
#endif
*anEventStatus = mInstanceOwner->ProcessEvent(*anEvent); *anEventStatus = mInstanceOwner->ProcessEvent(*anEvent);
break; break;

Просмотреть файл

@ -1344,7 +1344,9 @@ nsObjectFrame::HandleEvent(nsIPresContext* aPresContext,
case NS_MOUSE_MOVE: case NS_MOUSE_MOVE:
case NS_MOUSE_ENTER: case NS_MOUSE_ENTER:
case NS_MOUSE_LEFT_BUTTON_UP: case NS_MOUSE_LEFT_BUTTON_UP:
#ifndef XP_MAC
case NS_MOUSE_LEFT_BUTTON_DOWN: case NS_MOUSE_LEFT_BUTTON_DOWN:
#endif
*anEventStatus = mInstanceOwner->ProcessEvent(*anEvent); *anEventStatus = mInstanceOwner->ProcessEvent(*anEvent);
break; break;