Commit 48309664 authored by Dmitry Timoshkov's avatar Dmitry Timoshkov Committed by Alexandre Julliard

user32: WM_IME_SETCONTEXT messages are optional.

parent 10834ee5
...@@ -261,14 +261,14 @@ static const struct message WmSwitchChild[] = { ...@@ -261,14 +261,14 @@ static const struct message WmSwitchChild[] = {
{ WM_NCACTIVATE, sent|wparam|defwinproc, 1 }, /* in the 1st MDI child */ { WM_NCACTIVATE, sent|wparam|defwinproc, 1 }, /* in the 1st MDI child */
{ HCBT_SETFOCUS, hook }, { HCBT_SETFOCUS, hook },
{ WM_KILLFOCUS, sent|defwinproc }, /* in the 2nd MDI child */ { WM_KILLFOCUS, sent|defwinproc }, /* in the 2nd MDI child */
{ WM_IME_SETCONTEXT, sent|wparam|defwinproc, 0 },/* in the 1st MDI child */ { WM_IME_SETCONTEXT, sent|wparam|defwinproc|optional, 0 },/* in the 1st MDI child */
{ WM_IME_SETCONTEXT, sent|wparam, 1 }, /* in MDI client */ { WM_IME_SETCONTEXT, sent|wparam|optional, 1 }, /* in MDI client */
{ EVENT_OBJECT_FOCUS, winevent_hook|wparam|lparam, OBJID_CLIENT, 0 }, { EVENT_OBJECT_FOCUS, winevent_hook|wparam|lparam, OBJID_CLIENT, 0 },
{ WM_SETFOCUS, sent },/* in the MDI client */ { WM_SETFOCUS, sent },/* in the MDI client */
{ HCBT_SETFOCUS, hook }, { HCBT_SETFOCUS, hook },
{ WM_KILLFOCUS, sent },/* in the MDI client */ { WM_KILLFOCUS, sent },/* in the MDI client */
{ WM_IME_SETCONTEXT, sent|wparam, 0 }, /* in MDI client */ { WM_IME_SETCONTEXT, sent|wparam|optional, 0 }, /* in MDI client */
{ WM_IME_SETCONTEXT, sent|wparam|defwinproc, 1 }, /* in the 1st MDI child */ { WM_IME_SETCONTEXT, sent|wparam|defwinproc|optional, 1 }, /* in the 1st MDI child */
{ EVENT_OBJECT_FOCUS, winevent_hook|wparam|lparam, OBJID_CLIENT, 0 }, { EVENT_OBJECT_FOCUS, winevent_hook|wparam|lparam, OBJID_CLIENT, 0 },
{ WM_SETFOCUS, sent|defwinproc }, /* in the 1st MDI child */ { WM_SETFOCUS, sent|defwinproc }, /* in the 1st MDI child */
{ WM_MDIACTIVATE, sent|defwinproc },/* in the 1st MDI child */ { WM_MDIACTIVATE, sent|defwinproc },/* in the 1st MDI child */
......
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