Comment 26 for bug 583965

Revision history for this message
In , Enn (enndeakin) wrote :

Comment on attachment 444489
possible moz-central fix

      nsIMEStateManager::OnTextStateFocus(presContext, aContent);
>+ } else {
>+ nsPresContext* presContext = presShell->GetPresContext();
>+ nsIMEStateManager::OnTextStateBlur(presContext, nsnull);
>+ nsIMEStateManager::OnChangeFocus(presContext, nsnull);
>+ if (!aWindowRaised) {
>+ aWindow->UpdateCommands(NS_LITERAL_STRING("focus"));
>+ }

These few lines may be the only change you actually need to fix this bug.

If not, I can look at the patch in more detail and see.