mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-09-05 19:08:12 +00:00
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:
@@ -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;
|
||||
|
Reference in New Issue
Block a user