mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-09-05 19:08:12 +00:00
Call the windows message hook for WM_ENTERSIZEMOVE and WM_ENTERMENULOOP
Fixes https://github.com/libsdl-org/SDL/issues/12169
This commit is contained in:
@@ -1721,6 +1721,10 @@ LRESULT CALLBACK WIN_WindowProc(HWND hwnd, UINT msg, WPARAM wParam, LPARAM lPara
|
||||
case WM_ENTERSIZEMOVE:
|
||||
case WM_ENTERMENULOOP:
|
||||
{
|
||||
if (!DispatchModalLoopMessageHook(&hwnd, &msg, &wParam, &lParam)) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
++data->in_modal_loop;
|
||||
if (data->in_modal_loop == 1) {
|
||||
data->initial_size_rect.left = data->window->x;
|
||||
|
Reference in New Issue
Block a user