[EXPLORER] Use ShowWindowAsync in CTrayWindow::RestoreAll()

Here, ShowWindowAsync is better than ShowWindow.
CORE-17894
This commit is contained in:
Katayama Hirofumi MZ 2021-12-14 23:12:01 +09:00
parent 10c7145cc6
commit e055b0623c

View file

@ -2905,7 +2905,7 @@ HandleTrayContextMenu:
HWND hwnd = g_MinimizedAll[i];
if (::IsWindowVisible(hwnd) && ::IsIconic(hwnd))
{
::ShowWindow(hwnd, SW_RESTORE);
::ShowWindowAsync(hwnd, SW_RESTORE);
}
}
g_MinimizedAll.RemoveAll();