[USER32] Check whether the window is minimized upon SM_REPOSITION CORE-16490

This commit is contained in:
Katayama Hirofumi MZ 2019-11-19 10:32:06 +09:00
parent 36163a235b
commit fa264251a7

View file

@ -1190,6 +1190,9 @@ static void DEFDLG_Reposition(HWND hwnd)
if (GetWindowLongW(hwnd, GWL_STYLE) & WS_CHILD)
return;
if (IsIconic(hwnd))
return;
hMon = MonitorFromWindow(hwnd, MONITOR_DEFAULTTONEAREST);
if (!GetMonitorInfoW(hMon, &mi) || !GetWindowRect(hwnd, &rc))