user32: Do not create IME window for HWND_MESSAGE windows.
Sebastian Lackner
sebastian at fds-team.de
Thu Sep 1 22:53:20 CDT 2016
Signed-off-by: Sebastian Lackner <sebastian at fds-team.de>
---
Feel free to ignore if a different approach is preferred, or if we want tests for this.
This fixes the broadcast and dde tests in virtual desktop mode for me.
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 );
--
2.9.0
More information about the wine-patches
mailing list