mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 962920 nsTextStore should commit composition when WM_ENTERIDLE is received r=jimm
This commit is contained in:
parent
642fd1a624
commit
0a295cbf0b
@ -3951,6 +3951,14 @@ nsTextStore::ProcessMessage(nsWindowBase* aWindow, UINT aMessage,
|
|||||||
aLParam &= ~ISC_SHOWUICOMPOSITIONWINDOW;
|
aLParam &= ~ISC_SHOWUICOMPOSITIONWINDOW;
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
case WM_ENTERIDLE:
|
||||||
|
// When an modal dialog such as a file picker is open, composition
|
||||||
|
// should be committed because IME might be used on it.
|
||||||
|
if (!IsComposingOn(aWindow)) {
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
CommitComposition(false);
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user