mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-24 11:27:49 +00:00
Bug 424809 - "nsCocoaWindow.mm causes build errors with GCC 4.2 on OS X" [p=darkweaver@gmail.com (Sean Fleming) r=hwaara sr=vlad a1.9b5=beltzner]
This commit is contained in:
parent
3cbc4b60ae
commit
3a1fb992e5
@ -1768,6 +1768,7 @@ NS_IMETHODIMP nsCocoaWindow::EndSecureKeyboardInput()
|
||||
case NSLeftMouseDragged:
|
||||
case NSRightMouseDragged:
|
||||
case NSOtherMouseDragged:
|
||||
{
|
||||
// Drop all mouse events if a modal window has appeared above us.
|
||||
// This helps make us behave as if the OS were running a "real" modal
|
||||
// event loop.
|
||||
@ -1782,7 +1783,8 @@ NS_IMETHODIMP nsCocoaWindow::EndSecureKeyboardInput()
|
||||
}
|
||||
}
|
||||
break;
|
||||
default:
|
||||
}
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
||||
@ -2316,6 +2318,7 @@ already_AddRefed<nsIDOMElement> GetFocusedElement()
|
||||
case NSLeftMouseDragged:
|
||||
case NSRightMouseDragged:
|
||||
case NSOtherMouseDragged:
|
||||
{
|
||||
// Drop all mouse events if a modal window has appeared above us.
|
||||
// This helps make us behave as if the OS were running a "real" modal
|
||||
// event loop.
|
||||
@ -2330,7 +2333,8 @@ already_AddRefed<nsIDOMElement> GetFocusedElement()
|
||||
}
|
||||
}
|
||||
break;
|
||||
default:
|
||||
}
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user