| Summary: | SDL_MOUSEMOTION outside of window - inconsistency | ||
|---|---|---|---|
| Product: | SDL | Reporter: | Mervin <muckmeck> |
| Component: | *don't know* | Assignee: | Ryan C. Gordon <icculus> |
| Status: | NEW --- | QA Contact: | Sam Lantinga <slouken> |
| Severity: | normal | ||
| Priority: | P2 | CC: | amit.jain83, muckmeck, oss, p.sangra |
| Version: | 2.0.3 | ||
| Hardware: | x86 | ||
| OS: | Windows (XP) | ||
| Attachments: | patch to fix issue | ||
|
Description
Mervin
2014-09-15 07:37:02 UTC
Hi Any update or fix for this defect ? Hi Mervin, Is this defect reproduced 100% in your case? In my case, this is being reproduced only when mouse pointer dragged fast outside the window and release the button. Created attachment 2257 [details]
patch to fix issue
Attached a patch for this issue.
The call to SDL_UpdateMouseFocus on SDL_RELEASED originally struck me as
unnecessary, but after further digging I suspect it has something to do with
something with SUPPORT_DRAG_OUTSIDE_WINDOW. If anyone knows for sure, I'd be
interested in hearing about it.
|