Fix window resizing after minimization on Windows
This commit is contained in:
parent
db31445b90
commit
18678fd11e
@ -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