[PATCH] - fall back to the main HWND when there is no IMM HWND
James Hawkins
truiken at gmail.com
Sun May 25 20:15:57 CDT 2008
On Sun, May 25, 2008 at 6:59 PM, Christopher GAUTIER <krys at via.ecp.fr> wrote:
>
> Description:
>
> It is apparently valid to call ImmGetDefaultIMEWnd() without first
> opening the IME with ImmSetOpenStatus(). In such cases,
> ImmGetDefaultIMEWnd returns NULL (the value of hwndDefault), which
> indicates a failure according to MSDN. As a result, some applications
> may report a IME failure. Fallbacking to the main window handle fixes
> this.
>
>
> Changelog:
> - dlls/imm32/imm.c: fall back to the main HWND when there is no IMM
> HWND in ImmGetDefaultIMEWnd()
>
Please add a test case to prove this behavior is correct.
--
James Hawkins
More information about the wine-devel
mailing list