winex11: Destroy the handle to the composition string after it is cancelled.
This commit is contained in:
parent
ae1b735547
commit
4f2330ac0c
|
@ -775,6 +775,12 @@ BOOL WINAPI NotifyIME(HIMC hIMC, DWORD dwAction, DWORD dwIndex, DWORD dwValue)
|
|||
|
||||
X11DRV_ForceXIMReset(lpIMC->hWnd);
|
||||
|
||||
if (lpIMC->hCompStr)
|
||||
{
|
||||
ImmDestroyIMCC(lpIMC->hCompStr);
|
||||
lpIMC->hCompStr = NULL;
|
||||
}
|
||||
|
||||
myPrivate = (LPIMEPRIVATE)ImmLockIMCC(lpIMC->hPrivate);
|
||||
if (myPrivate->bInComposition)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue