mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
bug 624163 - IME input does not work in rich editors with e10s r=dougt
This commit is contained in:
parent
6eda44f750
commit
c2024b4a1b
@ -527,6 +527,9 @@ TabParent::RecvGetIMEEnabled(PRUint32* aValue)
|
||||
bool
|
||||
TabParent::RecvSetInputMode(const PRUint32& aValue, const nsString& aType, const nsString& aAction, const PRUint32& aReason)
|
||||
{
|
||||
// mIMETabParent (which is actually static) tracks which if any TabParent has IMEFocus
|
||||
// When the input mode is set to anything but IME_STATUS_NONE, mIMETabParent should be set to this
|
||||
mIMETabParent = aValue & nsIContent::IME_STATUS_MASK_ENABLED ? this : nsnull;
|
||||
nsCOMPtr<nsIWidget> widget = GetWidget();
|
||||
if (!widget || !AllowContentIME())
|
||||
return true;
|
||||
|
Loading…
Reference in New Issue
Block a user