user32: Do not create IME window for HWND_MESSAGE windows.

Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Akihiro Sagawa <sagawa.aki@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Sebastian Lackner 2016-09-02 05:53:20 +02:00 committed by Alexandre Julliard
parent c6110acfda
commit 994b06a97d
1 changed files with 2 additions and 1 deletions

View File

@ -1613,7 +1613,8 @@ HWND WIN_CreateWindowEx( CREATESTRUCTW *cs, LPCWSTR className, HINSTANCE module,
/* create default IME window */
if (imm_register_window && !is_desktop_window( hwnd ) && imm_register_window( hwnd ))
if (imm_register_window && !is_desktop_window( hwnd ) &&
parent != get_hwnd_message_parent() && imm_register_window( hwnd ))
{
TRACE("register IME window for %p\n", hwnd);
win_set_flags( hwnd, WIN_HAS_IME_WIN, 0 );