mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-26 20:30:41 +00:00
Bug 721076 - Return correct prevent default value if there are no changed touches. r=smaug
This commit is contained in:
parent
5a0b40ee93
commit
a566382d16
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user