Module: wine Branch: master Commit: 994b06a97d5080a5175507ff33a7477006f3e8cb URL: http://source.winehq.org/git/wine.git/?a=commit;h=994b06a97d5080a5175507ff33...
Author: Sebastian Lackner sebastian@fds-team.de Date: Fri Sep 2 05:53:20 2016 +0200
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
---
dlls/user32/win.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/dlls/user32/win.c b/dlls/user32/win.c index b65fdd7..a7be4a3 100644 --- a/dlls/user32/win.c +++ b/dlls/user32/win.c @@ -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 );