mirror of https://github.com/libsdl-org/SDL.git
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:
parent
4f0a056b95
commit
df97ccf283
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in New Issue