Commit b464f9ca authored by Alexandre Julliard's avatar Alexandre Julliard

user32: Bring SwitchToThisWindow a bit more in line with the now documented behavior.

parent 6eabce17
......@@ -85,9 +85,10 @@ typedef struct
/***********************************************************************
* SwitchToThisWindow (USER32.@)
*/
void WINAPI SwitchToThisWindow( HWND hwnd, BOOL restore )
void WINAPI SwitchToThisWindow( HWND hwnd, BOOL alt_tab )
{
ShowWindow( hwnd, restore ? SW_RESTORE : SW_SHOWMINIMIZED );
if (IsIconic( hwnd )) ShowWindow( hwnd, SW_RESTORE );
else BringWindowToTop( hwnd );
}
......
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