Mac fix that derived out of 43470. r=danm

This commit is contained in:
saari%netscape.com 2000-07-28 03:47:55 +00:00
Родитель a04150fb25
Коммит af34e4532e
1 изменённых файлов: 3 добавлений и 1 удалений

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

@ -407,8 +407,10 @@ NS_IMETHODIMP nsWindow::ModalEventFilter(PRBool aRealEvent, void *aEvent,
switch ( theEvent->what ) { switch ( theEvent->what ) {
// is it a mouse event? // is it a mouse event?
case mouseDown:
case mouseUp: case mouseUp:
*aForWindow = PR_TRUE;
break;
case mouseDown:
// is it in the given window? // is it in the given window?
// (note we also let some events questionable for modal dialogs pass through. // (note we also let some events questionable for modal dialogs pass through.
// but it makes sense that the draggability et.al. of a modal window should // but it makes sense that the draggability et.al. of a modal window should