Commit f312758b authored by Zebediah Figura's avatar Zebediah Figura Committed by Alexandre Julliard

user32/tests: Ignore all non-keyboard messages in test_Input_blackbox().

parent 1bb4a867
......@@ -848,16 +848,7 @@ static LRESULT CALLBACK WndProc2(HWND hWnd, UINT Msg, WPARAM wParam,
{
if (winetest_debug > 1) trace("MSG: %8x W:%8lx L:%8lx\n", Msg, wParam, lParam);
if (Msg != WM_PAINT &&
Msg != WM_NCPAINT &&
Msg != WM_SYNCPAINT &&
Msg != WM_ERASEBKGND &&
Msg != WM_NCHITTEST &&
Msg != WM_GETTEXT &&
Msg != WM_GETICON &&
Msg != WM_IME_SELECT &&
Msg != WM_DEVICECHANGE &&
Msg != WM_TIMECHANGE)
if ((Msg >= WM_KEYFIRST && Msg <= WM_KEYLAST) || Msg == WM_SYSCOMMAND)
{
ok(sent_messages_cnt < MAXKEYMESSAGES, "Too many messages\n");
if (sent_messages_cnt < MAXKEYMESSAGES)
......
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