зеркало из https://github.com/mozilla/gecko-dev.git
Mac fix that derived out of 43470. r=danm
This commit is contained in:
Родитель
a04150fb25
Коммит
af34e4532e
|
@ -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
|
||||||
|
|
Загрузка…
Ссылка в новой задаче