This was accidentally removed while deleting some associated dead code.
@@ -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;