Commit ad627248 authored by Aric Stewart's avatar Aric Stewart Committed by Alexandre Julliard

imm32: Use SendMessage not PostMessage for the default IME winproc.

parent 720c0c81
...@@ -2906,8 +2906,9 @@ static LRESULT WINAPI DefIME_WindowProc(HWND hwnd, UINT uMsg, WPARAM wParam, ...@@ -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, ...@@ -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);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment