diff --git a/src/video/windows/SDL_windowsevents.c b/src/video/windows/SDL_windowsevents.c index 5e56816ed7..84c8ff72cd 100644 --- a/src/video/windows/SDL_windowsevents.c +++ b/src/video/windows/SDL_windowsevents.c @@ -1389,6 +1389,8 @@ LRESULT CALLBACK WIN_WindowProc(HWND hwnd, UINT msg, WPARAM wParam, LPARAM lPara if (TrackMouseEvent(&trackMouseEvent)) { data->mouse_tracked = true; } + + WIN_CheckAsyncMouseRelease(WIN_GetEventTimestamp(), data); } if (!data->videodata->raw_mouse_enabled) {