mirror of
https://github.com/reactos/reactos.git
synced 2026-06-05 19:43:39 +08:00
[USER32] Check whether the window is minimized upon SM_REPOSITION CORE-16490
This commit is contained in:
@@ -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))
|
||||
|
||||
Reference in New Issue
Block a user