mirror of
git://source.winehq.org/git/wine.git
synced 2024-11-05 18:01:34 +00:00
Revert previous change since it causes a crash in desktop mode.
This commit is contained in:
parent
bcb3490d3c
commit
86b95b8c6d
1 changed files with 1 additions and 1 deletions
|
@ -142,7 +142,6 @@ BOOL WINAPI DllMain(HINSTANCE hInstDLL, DWORD fdwReason, LPVOID lpReserved)
|
|||
IMM_RegisterMessages();
|
||||
x11drv = GetModuleHandleA("x11drv.dll");
|
||||
if (x11drv) pX11DRV_ForceXIMReset = (void *)GetProcAddress( x11drv, "ForceXIMReset");
|
||||
IMM_Register();
|
||||
break;
|
||||
case DLL_PROCESS_DETACH:
|
||||
if (hwndDefault)
|
||||
|
@ -736,6 +735,7 @@ HWND WINAPI ImmGetDefaultIMEWnd(HWND hWnd)
|
|||
{
|
||||
static const WCHAR the_name[] = {'I','M','E','\0'};
|
||||
|
||||
IMM_Register();
|
||||
hwndDefault = CreateWindowExW( WS_EX_CLIENTEDGE, WC_IMECLASSNAME,
|
||||
the_name, WS_POPUPWINDOW|WS_CAPTION, 0, 0, 120, 55, 0, 0,
|
||||
hImeInst, 0);
|
||||
|
|
Loading…
Reference in a new issue