imm32: Use SendMessage not PostMessage for the default IME winproc.
This commit is contained in:
parent
720c0c810d
commit
ad6272486b
|
@ -2906,8 +2906,9 @@ static LRESULT WINAPI DefIME_WindowProc(HWND hwnd, UINT uMsg, WPARAM wParam,
|
||||||
{
|
{
|
||||||
ImmHkl *immHkl = IMM_GetImmHkl(GetKeyboardLayout(0));
|
ImmHkl *immHkl = IMM_GetImmHkl(GetKeyboardLayout(0));
|
||||||
if (immHkl->UIWnd)
|
if (immHkl->UIWnd)
|
||||||
PostMessageW(immHkl->UIWnd,uMsg,wParam,lParam);
|
return SendMessageW(immHkl->UIWnd,uMsg,wParam,lParam);
|
||||||
return TRUE;
|
else
|
||||||
|
return FALSE;
|
||||||
}
|
}
|
||||||
default:
|
default:
|
||||||
if ((uMsg == WM_MSIME_RECONVERTOPTIONS) ||
|
if ((uMsg == WM_MSIME_RECONVERTOPTIONS) ||
|
||||||
|
@ -2920,8 +2921,9 @@ static LRESULT WINAPI DefIME_WindowProc(HWND hwnd, UINT uMsg, WPARAM wParam,
|
||||||
{
|
{
|
||||||
ImmHkl *immHkl = IMM_GetImmHkl(GetKeyboardLayout(0));
|
ImmHkl *immHkl = IMM_GetImmHkl(GetKeyboardLayout(0));
|
||||||
if (immHkl->UIWnd)
|
if (immHkl->UIWnd)
|
||||||
PostMessageW(immHkl->UIWnd,uMsg,wParam,lParam);
|
return SendMessageW(immHkl->UIWnd,uMsg,wParam,lParam);
|
||||||
return TRUE;
|
else
|
||||||
|
return FALSE;
|
||||||
}
|
}
|
||||||
return DefWindowProcW(hwnd, uMsg, wParam, lParam);
|
return DefWindowProcW(hwnd, uMsg, wParam, lParam);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue