diff --git a/content/events/src/nsIMEStateManager.cpp b/content/events/src/nsIMEStateManager.cpp --- a/content/events/src/nsIMEStateManager.cpp +++ b/content/events/src/nsIMEStateManager.cpp @@ -99,21 +99,22 @@ nsIMEStateManager::OnRemoveContent(nsPre } nsresult nsIMEStateManager::OnChangeFocus(nsPresContext* aPresContext, nsIContent* aContent) { NS_ENSURE_ARG_POINTER(aPresContext); +#if 0 if (!IsActive(aPresContext)) { // The actual focus isn't changing, because this presContext isn't active. return NS_OK; } - +#endif nsCOMPtr widget = GetWidget(aPresContext); if (!widget) { return NS_OK; } PRUint32 newState = GetNewIMEState(aPresContext, aContent); if (aPresContext == sPresContext && aContent == sContent) { // actual focus isn't changing, but if IME enabled state is changing,