Aric Stewart aric@codeweavers.com writes:
if (thread_data->defaultContext) /* someone beat us */
IMM_DestroyContext(defaultContext);
I don't think you should be doing that inside the thread lock.
- IMMThreadData* thread_data = IMM_GetThreadData(0);
- if (thread_data->hwndDefault == NULL)
thread_data->hwndDefault = CreateWindowExW( WS_EX_TOOLWINDOW,
That one is suspicious too.