From ad6272486ba56fd609af537213f30affb7c6463b Mon Sep 17 00:00:00 2001 From: Aric Stewart Date: Tue, 20 Nov 2012 14:07:01 -0600 Subject: [PATCH] imm32: Use SendMessage not PostMessage for the default IME winproc. --- dlls/imm32/imm.c | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/dlls/imm32/imm.c b/dlls/imm32/imm.c index 6bca604c1de..1ade13af8db 100644 --- a/dlls/imm32/imm.c +++ b/dlls/imm32/imm.c @@ -2906,8 +2906,9 @@ static LRESULT WINAPI DefIME_WindowProc(HWND hwnd, UINT uMsg, WPARAM wParam, { ImmHkl *immHkl = IMM_GetImmHkl(GetKeyboardLayout(0)); if (immHkl->UIWnd) - PostMessageW(immHkl->UIWnd,uMsg,wParam,lParam); - return TRUE; + return SendMessageW(immHkl->UIWnd,uMsg,wParam,lParam); + else + return FALSE; } default: 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)); if (immHkl->UIWnd) - PostMessageW(immHkl->UIWnd,uMsg,wParam,lParam); - return TRUE; + return SendMessageW(immHkl->UIWnd,uMsg,wParam,lParam); + else + return FALSE; } return DefWindowProcW(hwnd, uMsg, wParam, lParam); }