diff --git a/view/src/nsViewManager.cpp b/view/src/nsViewManager.cpp index d8a22f3e64c2..edfe268829ca 100644 --- a/view/src/nsViewManager.cpp +++ b/view/src/nsViewManager.cpp @@ -1778,6 +1778,8 @@ NS_IMETHODIMP nsViewManager::DispatchEvent(nsGUIEvent *aEvent, nsEventStatus *aS if (!view || !mContext) break; + *aStatus = nsEventStatus_eConsumeNoDefault; + // The rect is in device units, and it's in the coordinate space of its // associated window. nsCOMPtr region = ((nsPaintEvent*)aEvent)->region;