diff --git a/widget/src/mac/nsWindow.cpp b/widget/src/mac/nsWindow.cpp index 64206cca075f..6441f9466dca 100644 --- a/widget/src/mac/nsWindow.cpp +++ b/widget/src/mac/nsWindow.cpp @@ -407,8 +407,10 @@ NS_IMETHODIMP nsWindow::ModalEventFilter(PRBool aRealEvent, void *aEvent, switch ( theEvent->what ) { // is it a mouse event? - case mouseDown: case mouseUp: + *aForWindow = PR_TRUE; + break; + case mouseDown: // is it in the given window? // (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