https://git.reactos.org/?p=reactos.git;a=commitdiff;h=e055b0623c94bfad785e67...
commit e055b0623c94bfad785e67c5a913d544e569ec32 Author: Katayama Hirofumi MZ katayama.hirofumi.mz@gmail.com AuthorDate: Tue Dec 14 23:12:01 2021 +0900 Commit: Katayama Hirofumi MZ katayama.hirofumi.mz@gmail.com CommitDate: Tue Dec 14 23:12:01 2021 +0900
[EXPLORER] Use ShowWindowAsync in CTrayWindow::RestoreAll()
Here, ShowWindowAsync is better than ShowWindow. CORE-17894 --- base/shell/explorer/traywnd.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/base/shell/explorer/traywnd.cpp b/base/shell/explorer/traywnd.cpp index 2b69e48bb02..b052b856404 100644 --- a/base/shell/explorer/traywnd.cpp +++ b/base/shell/explorer/traywnd.cpp @@ -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();