mirror of
https://github.com/godotengine/godot.git
synced 2025-01-10 12:11:05 +00:00
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
@ -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 New Issue
Block a user