зеркало из https://github.com/mozilla/gecko-dev.git
Fix 77206, stop reentrant events from overriding listener state flags, sr:jst, r:pollmann, a:dbaron
This commit is contained in:
Родитель
3fdc9e89e6
Коммит
5bf89274a5
|
@ -1536,6 +1536,11 @@ nsEventStateManager::PostHandleEvent(nsIPresContext* aPresContext,
|
|||
case NS_MOUSE_RIGHT_BUTTON_UP:
|
||||
{
|
||||
SetContentState(nsnull, NS_EVENT_STATE_ACTIVE);
|
||||
if (!mCurrentTarget) {
|
||||
nsIFrame* targ;
|
||||
GetEventTarget(&targ);
|
||||
if (!targ) return NS_ERROR_FAILURE;
|
||||
}
|
||||
ret = CheckForAndDispatchClick(aPresContext, (nsMouseEvent*)aEvent, aStatus);
|
||||
nsCOMPtr<nsIPresShell> shell;
|
||||
nsresult rv = aPresContext->GetShell(getter_AddRefs(shell));
|
||||
|
|
Загрузка…
Ссылка в новой задаче