Aric Stewart aric@codeweavers.com writes:
@@ -1597,7 +1612,9 @@ BOOL WINAPI ImmGetConversionStatus( HWND WINAPI ImmGetDefaultIMEWnd(HWND hWnd) { HWND ret;
- IMMThreadData* thread_data = IMM_GetThreadData(0);
- IMMThreadData* thread_data = IMM_GetThreadDataForWindow(hWnd);
- if (!thread_data)
if (thread_data->hwndDefault == NULL) thread_data->hwndDefault = CreateWindowExW( WS_EX_TOOLWINDOW, szwIME, NULL, WS_POPUP, 0, 0, 1, 1, 0, 0, 0, 0);return NULL;
It doesn't seem right to create the default window from a different thread.