Re: (resend)[3/4] imm32: use thread data from target HWND
20 Sep
2013
20 Sep
'13
9:24 a.m.
Aric Stewart <aric(a)codeweavers.com> writes:
@@ -507,7 +524,7 @@ HIMC WINAPI ImmAssociateContext(HWND hWnd, HIMC hIMC) LeaveCriticalSection(&threaddata_cs); defaultContext = ImmCreateContext(); ((InputContextData*)defaultContext)->threadDefault = TRUE; - thread_data = IMM_GetThreadData(0); + thread_data = IMM_GetThreadDataForWindow(hWnd); thread_data->defaultContext = defaultContext; }
You have multiple race conditions here. -- Alexandre Julliard julliard(a)winehq.org
4471
Age (days ago)
4471
Last active (days ago)
0 comments
1 participants
participants (1)
-
Alexandre Julliard