зеркало из https://github.com/mozilla/pjs.git
Fix for Mac plugins getting double mouse events. bug 58814 r=av sr=waterson rtm++
This commit is contained in:
Родитель
d10f0c1b9f
Коммит
5965d104d8
|
@ -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;
|
||||||
|
|
||||||
|
|
Загрузка…
Ссылка в новой задаче