[Win32SS]
authorJames Tabor <james.tabor@reactos.org>
Wed, 24 Feb 2016 10:20:06 +0000 (10:20 +0000)
committerJames Tabor <james.tabor@reactos.org>
Wed, 24 Feb 2016 10:20:06 +0000 (10:20 +0000)
- Fix hang, CORE-10785 and ROSTESTS-208.

svn path=/trunk/; revision=70784

reactos/win32ss/user/ntuser/focus.c

index 17e1e65..82d64df 100644 (file)
@@ -535,7 +535,9 @@ co_IntSetForegroundAndFocusWindow(
    else
    {
        //ERR("Activate Not same PQ and WQ and Wnd.\n");
    else
    {
        //ERR("Activate Not same PQ and WQ and Wnd.\n");
-       co_IntSendMessage(hWnd, WM_ASYNC_SETACTIVEWINDOW, (WPARAM)Wnd, (LPARAM)MouseActivate );
+       //// CORE-10785 fix hang, ROSTESTS-208 allows test to run.
+       ////  co_IntSendMessage(hWnd, WM_ASYNC_SETACTIVEWINDOW, (WPARAM)Wnd, (LPARAM)MouseActivate );
+       co_IntSendMessageNoWait(hWnd, WM_ASYNC_SETACTIVEWINDOW, (WPARAM)Wnd, (LPARAM)MouseActivate );
        Ret = TRUE;
    }
    return Ret && fgRet;
        Ret = TRUE;
    }
    return Ret && fgRet;