mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-01-22 03:43:58 +00:00
Fix repainting on windows (bug 199159) by making sure to set ConsumeNoDefault on the paint event. r/sr=roc, a=asa.
This commit is contained in:
parent
b7a95a8b9e
commit
858687b03c
@ -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<nsIRegion> region = ((nsPaintEvent*)aEvent)->region;
|
||||
|
Loading…
x
Reference in New Issue
Block a user