mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 620258 add additional fall through comments to nsEventStateManager::PreHandleEvent
r=smaug
This commit is contained in:
parent
56a2de3ed9
commit
e0efbae0ff
@ -1131,10 +1131,12 @@ nsEventStateManager::PreHandleEvent(nsPresContext* aPresContext,
|
||||
StopTrackingDragGesture();
|
||||
#endif
|
||||
sNormalLMouseEventInProcess = PR_FALSE;
|
||||
// then fall through...
|
||||
case nsMouseEvent::eRightButton:
|
||||
#ifdef XP_OS2
|
||||
StopTrackingDragGesture();
|
||||
#endif
|
||||
// then fall through...
|
||||
case nsMouseEvent::eMiddleButton:
|
||||
SetClickCount(aPresContext, (nsMouseEvent*)aEvent, aStatus);
|
||||
break;
|
||||
@ -1205,6 +1207,7 @@ nsEventStateManager::PreHandleEvent(nsPresContext* aPresContext,
|
||||
HandleAccessKey(aPresContext, keyEvent, aStatus, nsnull,
|
||||
eAccessKeyProcessingNormal, modifierMask);
|
||||
}
|
||||
// then fall through...
|
||||
case NS_KEY_DOWN:
|
||||
case NS_KEY_UP:
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user