- Fix wine win.c:test_mouse_input:WM_COMMAND tests.

svn path=/trunk/; revision=65484
This commit is contained in:
James Tabor 2014-11-25 19:56:40 +00:00
parent 2e4fc079dc
commit 6cabec82f6

View file

@ -1450,7 +1450,10 @@ BOOL co_IntProcessMouseMessage(MSG* msg, BOOL* RemoveMessages, UINT first, UINT
}
else
{
pwndMsg = co_WinPosWindowFromPoint(pwndMsg, &msg->pt, &hittest, FALSE);
/*
Start with null window. See wine win.c:test_mouse_input:WM_COMMAND tests.
*/
pwndMsg = co_WinPosWindowFromPoint( NULL, &msg->pt, &hittest, FALSE);
}
TRACE("Got mouse message for %p, hittest: 0x%x\n", msg->hwnd, hittest);