зеркало из https://github.com/mozilla/pjs.git
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:
Родитель
a7a7cc7db6
Коммит
0f6011f5a6
|
@ -4419,7 +4419,7 @@ static PRBool IsSpecialGeckoKey(UInt32 macKeyCode)
|
||||||
// We don't do it if this came from performKeyEquivalent because
|
// We don't do it if this came from performKeyEquivalent because
|
||||||
// interpretKeyEvents isn't set up to handle those key combinations.
|
// interpretKeyEvents isn't set up to handle those key combinations.
|
||||||
PRBool wasComposing = nsTSMManager::IsComposing();
|
PRBool wasComposing = nsTSMManager::IsComposing();
|
||||||
if (!isKeyEquiv)
|
if (!isKeyEquiv && nsTSMManager::IsIMEEnabled())
|
||||||
[super interpretKeyEvents:[NSArray arrayWithObject:theEvent]];
|
[super interpretKeyEvents:[NSArray arrayWithObject:theEvent]];
|
||||||
|
|
||||||
if (!mGeckoChild)
|
if (!mGeckoChild)
|
||||||
|
|
Загрузка…
Ссылка в новой задаче