user32/tests: Ignore all non-keyboard messages in test_Input_blackbox().
Signed-off-by: Zebediah Figura <z.figura12@gmail.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
1bb4a8676d
commit
f312758bf0
|
@ -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 (winetest_debug > 1) trace("MSG: %8x W:%8lx L:%8lx\n", Msg, wParam, lParam);
|
||||||
|
|
||||||
if (Msg != WM_PAINT &&
|
if ((Msg >= WM_KEYFIRST && Msg <= WM_KEYLAST) || Msg == WM_SYSCOMMAND)
|
||||||
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)
|
|
||||||
{
|
{
|
||||||
ok(sent_messages_cnt < MAXKEYMESSAGES, "Too many messages\n");
|
ok(sent_messages_cnt < MAXKEYMESSAGES, "Too many messages\n");
|
||||||
if (sent_messages_cnt < MAXKEYMESSAGES)
|
if (sent_messages_cnt < MAXKEYMESSAGES)
|
||||||
|
|
Loading…
Reference in New Issue