Skip to content
Snippets Groups Projects
Commit c07a6cf5 authored by Alexandre Julliard's avatar Alexandre Julliard
Browse files

Fixed ShowWindowAsync.

parent 0b1a367b
No related branches found
No related tags found
No related merge requests found
......@@ -836,8 +836,11 @@ void WINPOS_GetMinMaxInfo( HWND hwnd, POINT *maxSize, POINT *maxPos,
*/
BOOL WINAPI ShowWindowAsync( HWND hwnd, INT cmd )
{
/* FIXME: does ShowWindow() return immediately ? */
return ShowWindow(hwnd, cmd);
HWND full_handle;
if ((full_handle = WIN_IsCurrentThread( hwnd )))
return USER_Driver.pShowWindow( full_handle, cmd );
return SendNotifyMessageW( hwnd, WM_WINE_SHOWWINDOW, cmd, 0 );
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment