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:
commit
89637e45f8
1 changed files with 2 additions and 0 deletions
|
@ -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()) {
|
||||
|
|
Loading…
Reference in a new issue