зеркало из https://github.com/mozilla/pjs.git
fix exit event on leaving the app so it doesn't get turned into a move event and incorrectly put up tooltips. b=425259 r=smichaud sr=vlad
This commit is contained in:
Родитель
4b3d9e07b8
Коммит
5c101ba162
|
@ -2964,7 +2964,7 @@ static nsEventStatus SendGeckoMouseEnterOrExitEvent(PRBool isTrusted,
|
|||
nsIWidget* lastViewEnteredWidget = [(NSView<mozView>*)sLastViewEntered widget];
|
||||
NSPoint exitEventLocation = [sLastViewEntered convertPoint:windowEventLocation fromView:nil];
|
||||
SendGeckoMouseEnterOrExitEvent(PR_TRUE, NS_MOUSE_EXIT, lastViewEnteredWidget, nsMouseEvent::eReal,
|
||||
&exitEventLocation, nsMouseEvent::eChild);
|
||||
&exitEventLocation, nsMouseEvent::eTopLevel);
|
||||
sLastViewEntered = nil;
|
||||
}
|
||||
return;
|
||||
|
|
Загрузка…
Ссылка в новой задаче