mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-03-02 14:30:43 +00:00
Mac fix that derived out of 43470. r=danm
This commit is contained in:
parent
a04150fb25
commit
af34e4532e
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user