fix for 35119, mouseDown events never going to popups. Check if a popup is onscreen when we determine if the event should be fired. r=danm.

This commit is contained in:
pinkerton%netscape.com 2000-06-05 22:39:22 +00:00
Родитель c21b74ff21
Коммит c679afb0e3
1 изменённых файлов: 1 добавлений и 1 удалений

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

@ -479,7 +479,7 @@ void nsMacMessagePump::DoMouseDown(EventRecord &anEvent)
case inContent:
{
::SetPortWindowPort(whichWindow);
if (IsWindowHilited(whichWindow))
if ( IsWindowHilited(whichWindow) || (gRollupListener && gRollupWidget) )
DispatchOSEventToRaptor(anEvent, whichWindow);
else {
nsMacWindow *mw = mMessageSink->GetNSWindowFromMacWindow(whichWindow);