mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-16 22:04:36 +00:00
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
This commit is contained in:
parent
84b0577142
commit
e9008d4b37
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user