зеркало из https://github.com/mozilla/pjs.git
Bug 732016 - Don't call GetFrameFromPoint for non touchstart touch events. r=smaug
This commit is contained in:
Родитель
80d5d4d76d
Коммит
4d55c6f7b2
|
@ -5935,6 +5935,12 @@ PresShell::HandleEvent(nsIFrame *aFrame,
|
|||
}
|
||||
}
|
||||
|
||||
// all touch events except for touchstart use a captured target
|
||||
if (aEvent->eventStructType == NS_TOUCH_EVENT &&
|
||||
aEvent->message != NS_TOUCH_START) {
|
||||
captureRetarget = true;
|
||||
}
|
||||
|
||||
bool isWindowLevelMouseExit = (aEvent->message == NS_MOUSE_EXIT) &&
|
||||
(static_cast<nsMouseEvent*>(aEvent)->exit == nsMouseEvent::eTopLevel);
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче