Something went wrong. Try again.
Reactos
Something went wrong. Try again.
[EXPLORER] Restore windows on second click of Show Desktop button (#7184) master
On the second click on "Show desktop" button, the minimized windows are not restored, because after the first click, and the addition to `CSimpleArray<MINWNDPOS> g_MinimizedAll`, a call to `RestoreMinimizedNonTaskWnds()` via `HSHELL_WINDOWACTIVATED` message clears the list of minimized windows. Don't empty `g_MinimizedAll` while processing HSHELL_WINDOWCREATED or HSHELL_WINDOWACTIVATED messages (bDestroyed=FALSE). Empty `g_MinimizedAll` only when SendPulseToTray is called with bDestroyed=TRUE. Addendum to e6bced7a353 and 70d7009ad95. CORE-19703 CORE-15369
Author Jose Carlos Jesus Committer GitHub Date (Aug 2, 2024, 2:36 PM UTC) Commit 045333e8 045333e8904a0eebc8bbf0416df5121e53fc5023 Parent 191d716c 191d716cb2242ec0e8c99be94c0d14b91bb84ab0