diff --git a/layout/generic/nsObjectFrame.cpp b/layout/generic/nsObjectFrame.cpp index a2a04b8ddaa..ed8fcc640f7 100644 --- a/layout/generic/nsObjectFrame.cpp +++ b/layout/generic/nsObjectFrame.cpp @@ -403,7 +403,8 @@ public: PRBool SendNativeEvents() { #ifdef XP_WIN - return MatchPluginName("Shockwave Flash"); + return mPluginWindow->type == NPWindowTypeDrawable && + MatchPluginName("Shockwave Flash"); #elif defined(MOZ_X11) return PR_TRUE; #else