user32: Set WM_CONTEXTMENU's wparam to the child window's handle.
commit3af8415ca9dc50e6c394c1001aad97db5f514069
authorHuw Davies <huw@codeweavers.com>
Fri, 7 Jan 2022 08:46:36 +0000 (7 08:46 +0000)
committerAlexandre Julliard <julliard@winehq.org>
Fri, 7 Jan 2022 10:55:18 +0000 (7 11:55 +0100)
tree8b212e308f2b6806e163fd133ab26db38ba921f2
parent1f17015cea89cef3083ade0497e5eae5efdcb570
user32: Set WM_CONTEXTMENU's wparam to the child window's handle.

DefWindowProc() does not propagate the wparam; it updates it instead.
Spotted by YAL.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=52327
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
dlls/user32/defwnd.c
dlls/user32/tests/msg.c