Rebase against 083dea7fce4372840ac18176496a7d05dadd5ad8.

This commit is contained in:
Alistair Leslie-Hughes
2022-03-18 11:29:35 +11:00
parent cd68f05ab3
commit 62db3313d5
10 changed files with 72 additions and 94 deletions

View File

@ -197,7 +197,7 @@ index 10a3882..2e93056 100644
+ continue;
+
+ if (IsZoomed(hwnd))
+ ShowWindow(hwnd, SW_RESTORE | SW_SHOWNA);
+ NtUserShowWindow(hwnd, SW_RESTORE | SW_SHOWNA);
+
+ GetWindowRect(hwnd, &wnd_rect);
+ new_width = width = wnd_rect.right - wnd_rect.left;

View File

@ -149,7 +149,7 @@ index 9679be895ed..c752f967b4d 100644
+ hwnd = info.wnd_array[i];
+
+ if (IsZoomed(hwnd))
+ ShowWindow(hwnd, SW_RESTORE | SW_SHOWNA);
+ NtUserShowWindow(hwnd, SW_RESTORE | SW_SHOWNA);
+
+ GetWindowRect(hwnd, &rcWnd);
+ cx = rcWnd.right - rcWnd.left;