From: Rémi Bernon <rbernon(a)codeweavers.com> So they don't try to activate the owner when getting hidden, which might spuriously restore it. Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=59010 --- dlls/win32u/defwnd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/win32u/defwnd.c b/dlls/win32u/defwnd.c index 03662963db3..384112fddda 100644 --- a/dlls/win32u/defwnd.c +++ b/dlls/win32u/defwnd.c @@ -988,8 +988,8 @@ static LRESULT handle_sys_command( HWND hwnd, WPARAM wparam, LPARAM lparam ) break; case SC_MINIMIZE: - NtUserShowOwnedPopups( hwnd, FALSE ); NtUserShowWindow( hwnd, SW_MINIMIZE ); + NtUserShowOwnedPopups( hwnd, FALSE ); break; case SC_MAXIMIZE: -- GitLab https://gitlab.winehq.org/wine/wine/-/merge_requests/9614