Commit 994b06a9 authored by Sebastian Lackner's avatar Sebastian Lackner Committed by Alexandre Julliard

user32: Do not create IME window for HWND_MESSAGE windows.

parent c6110acf
......@@ -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 );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment