Bug 290673. Restore event->point after dispatching to views, in case someone wants to use it later (Windows widget appears to). r+sr=bzbarsky,a=asa
git-svn-id: svn://10.0.0.236/trunk@172837 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -2512,6 +2512,9 @@ nsEventStatus nsViewManager::HandleEvent(nsView* aView, nsGUIEvent* aEvent, PRBo
|
||||
// we'll crash in the next iteration. Oh well. The old code would have crashed too.
|
||||
}
|
||||
}
|
||||
// Need to restore the event point here because someone may use it later.
|
||||
// In particular Windows seems to need this.
|
||||
aEvent->point = pt;
|
||||
|
||||
PL_FreeArenaPool(&displayArena);
|
||||
PL_FinishArenaPool(&displayArena);
|
||||
|
||||
Reference in New Issue
Block a user