Commit 3e2edac4 authored by Rémi Bernon's avatar Rémi Bernon Committed by Alexandre Julliard

win32u: Ignore some IME messages in default_window_proc.

parent 6fd3bd9b
......@@ -4440,11 +4440,11 @@ static void test_DefWindowProc(void)
ok_ret( 0, DefWindowProcW( hwnd, WM_IME_NOTIFY, 0, 0 ) );
ok_seq( notify_seq );
ok_ret( 0, DefWindowProcW( hwnd, WM_IME_CONTROL, 0, 0 ) );
todo_wine ok_seq( empty_sequence );
ok_seq( empty_sequence );
ok_ret( 0, DefWindowProcW( hwnd, WM_IME_COMPOSITIONFULL, 0, 0 ) );
ok_seq( empty_sequence );
ok_ret( 0, DefWindowProcW( hwnd, WM_IME_SELECT, 0, 0 ) );
todo_wine ok_seq( empty_sequence );
ok_seq( empty_sequence );
ok_ret( 0, DefWindowProcW( hwnd, WM_IME_CHAR, 0, 0 ) );
ok_seq( empty_sequence );
ok_ret( 0, DefWindowProcW( hwnd, 0x287, 0, 0 ) );
......
......@@ -2922,9 +2922,7 @@ LRESULT default_window_proc( HWND hwnd, UINT msg, WPARAM wparam, LPARAM lparam,
case WM_IME_COMPOSITION:
case WM_IME_STARTCOMPOSITION:
case WM_IME_ENDCOMPOSITION:
case WM_IME_SELECT:
case WM_IME_NOTIFY:
case WM_IME_CONTROL:
{
HWND ime_hwnd = get_default_ime_window( hwnd );
if (ime_hwnd && ime_hwnd != NtUserGetParent( hwnd ))
......
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