From 9e6291f06fc8bdfb0aa79faf6db2571be9169808 Mon Sep 17 00:00:00 2001 From: "joshmoz@gmail.com" Date: Sun, 10 Feb 2008 23:13:18 -0800 Subject: [PATCH] backing out bug 358379 due to it causing bug 415923. --- widget/src/cocoa/nsChildView.mm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/widget/src/cocoa/nsChildView.mm b/widget/src/cocoa/nsChildView.mm index a2a6be720234..48162343f49b 100644 --- a/widget/src/cocoa/nsChildView.mm +++ b/widget/src/cocoa/nsChildView.mm @@ -4068,8 +4068,8 @@ static BOOL keyUpAlreadySentKeyDown = NO; if (!mGeckoChild) return YES; - // Return 'NO' if we are in a transaction of IME or we are not the first responder. - if (nsTSMManager::IsComposing() || [[self window] firstResponder] != self) + // return 'NO' if we are in a transaction of IME. + if (nsTSMManager::IsComposing()) return NO; // see if the menu system will handle the event