Bug 721076 - Return correct prevent default value if there are no changed touches. r=smaug

This commit is contained in:
Wes Johnston 2012-02-01 10:32:00 -08:00
parent 5a0b40ee93
commit a566382d16

View File

@ -6568,6 +6568,9 @@ PresShell::HandleEventInternal(nsEvent* aEvent, nsEventStatus* aStatus)
}
// is nothing has changed, we should just return
if (!haveChanged) {
if (gPreventMouseEvents) {
*aStatus = nsEventStatus_eConsumeNoDefault;
}
return NS_OK;
}
break;