Revert previous change since it causes a crash in desktop mode.

This commit is contained in:
Alexandre Julliard 2004-12-08 19:45:05 +00:00
parent bcb3490d3c
commit 86b95b8c6d

View file

@ -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);