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:
joshmoz@gmail.com 2008-04-04 16:17:36 -07:00
Родитель 4b3d9e07b8
Коммит 5c101ba162
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -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;