fix scrolling with the space bar when using Japanese IME. Patch my Masayuki Nakano. b=420699 r=josh sr=roc

This commit is contained in:
joshmoz@gmail.com 2008-03-12 14:42:27 -07:00
parent c58ae23474
commit bfec228909

View File

@ -4419,7 +4419,7 @@ static PRBool IsSpecialGeckoKey(UInt32 macKeyCode)
// We don't do it if this came from performKeyEquivalent because
// interpretKeyEvents isn't set up to handle those key combinations.
PRBool wasComposing = nsTSMManager::IsComposing();
if (!isKeyEquiv)
if (!isKeyEquiv && nsTSMManager::IsIMEEnabled())
[super interpretKeyEvents:[NSArray arrayWithObject:theEvent]];
if (!mGeckoChild)