Merge pull request #47493 from floppyhammer/fix-window-resizing-after-minimization-on-windows

Fix window resizing after minimization on Windows
This commit is contained in:
Rémi Verschelde 2021-03-30 14:48:10 +02:00 committed by GitHub
commit 89637e45f8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2566,6 +2566,8 @@ LRESULT DisplayServerWindows::WndProc(HWND hWnd, UINT uMsg, WPARAM wParam, LPARA
windows[window_id].preserve_window_size = false;
window_set_size(Size2(windows[window_id].width, windows[window_id].height), window_id);
}
} else {
windows[window_id].preserve_window_size = true;
}
if (!windows[window_id].rect_changed_callback.is_null()) {