| Summary: | Minimizing Fullscreen app will not release mouse | ||
|---|---|---|---|
| Product: | SDL | Reporter: | zicodxx |
| Component: | events | Assignee: | Ryan C. Gordon <icculus> |
| Status: | RESOLVED FIXED | QA Contact: | Sam Lantinga <slouken> |
| Severity: | normal | ||
| Priority: | P2 | CC: | codepro, jspradlin, vern |
| Version: | 1.2.14 | ||
| Hardware: | Other | ||
| OS: | Windows 7 | ||
| Bug Depends on: | 1034 | ||
| Bug Blocks: | |||
|
Description
zicodxx
2010-07-28 13:04:26 UTC
(I accidentially reported this bug for Linux but it was meant to be Windows 7) Thank you for your bug report! We're busy working on getting SDL 1.3 ready for a high quality release, and want to make sure as many things are fixed there as possible. Could you check to see if your bug is resolved by the latest SDL 1.3 snapshot? http://www.libsdl.org/tmp/SDL-1.3.zip Thanks! This happens with the windib driver. It is caused by an infinite while (SDL_PollEvent()); loop which becomes infinite because DIB_PumpEvents() calls DIB_GenerateMouseMotionEvent() which generates an event every time because SetCursorPos() cannot move the pointer to the requested position (negative coordinates off screen). DIB_PumpEvents() calls DIB_GenerateMouseMotionEvent() every time because the SDL_APPMOUSEFOCUS bit never gets cleared and that I think is due to bug #1034. Sorry, the system confused me and I marked the wrong report as Resolved. Fixed, thanks! http://hg.libsdl.org/SDL/rev/676a54593bc4 |