diff options
Diffstat (limited to 'platform')
-rw-r--r-- | platform/windows/display_server_windows.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/platform/windows/display_server_windows.cpp b/platform/windows/display_server_windows.cpp index c6ed30a0fe..cf51caa6d5 100644 --- a/platform/windows/display_server_windows.cpp +++ b/platform/windows/display_server_windows.cpp @@ -2611,6 +2611,7 @@ LRESULT DisplayServerWindows::WndProc(HWND hWnd, UINT uMsg, WPARAM wParam, LPARA else if (wParam == SIZE_MINIMIZED) { windows[window_id].maximized = false; windows[window_id].minimized = true; + windows[window_id].preserve_window_size = false; } // The window has been resized, but neither the SIZE_MINIMIZED nor SIZE_MAXIMIZED value applies. else if (wParam == SIZE_RESTORED) { |