mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-15 03:00:30 +00:00
removing "return NS_OK" because it keeps it from doing the call to
nsFrame which calls HandleRelease. Without HandleRelease the EventStateManager mMouseGrabber never gets cleared and it keeps thinking events need to go to the view. b=48792 r=pollmann
This commit is contained in:
parent
f91b5e9881
commit
fea2898d59
@ -304,7 +304,6 @@ nsImageControlFrame::HandleEvent(nsIPresContext* aPresContext,
|
||||
mLastClickPoint.y = NSTwipsToIntPixels(aEvent->point.y, t2p);
|
||||
|
||||
mGotFocus = PR_TRUE;
|
||||
return NS_OK;
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
@ -304,7 +304,6 @@ nsImageControlFrame::HandleEvent(nsIPresContext* aPresContext,
|
||||
mLastClickPoint.y = NSTwipsToIntPixels(aEvent->point.y, t2p);
|
||||
|
||||
mGotFocus = PR_TRUE;
|
||||
return NS_OK;
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user