win32: Return 0 from WM_WINDOWPOSCHANGING if a resize is expected

This was accidentally removed while deleting some associated dead code.
This commit is contained in:
Frank Praznik
2024-12-31 14:02:44 -05:00
parent 4f0a056b95
commit df97ccf283

View File

@@ -1450,6 +1450,13 @@ LRESULT CALLBACK WIN_WindowProc(HWND hwnd, UINT msg, WPARAM wParam, LPARAM lPara
break;
#endif // WM_GETMINMAXINFO
case WM_WINDOWPOSCHANGING:
if (data->expected_resize) {
returnCode = 0;
}
break;
case WM_WINDOWPOSCHANGED:
{
SDL_Window *win;