| Summary: | Improper window resized event generated when toggling fullscreen on Mac OS X | ||
|---|---|---|---|
| Product: | SDL | Reporter: | Joshua Bodine <josh> |
| Component: | events | Assignee: | Sam Lantinga <slouken> |
| Status: | RESOLVED FIXED | QA Contact: | Sam Lantinga <slouken> |
| Severity: | normal | ||
| Priority: | P2 | CC: | amaranth72 |
| Version: | HG 2.0 | ||
| Hardware: | x86_64 | ||
| OS: | Mac OS X (All) | ||
|
Description
Joshua Bodine
2015-10-10 22:14:26 UTC
You might be able to work around the issue in BZFlag's code by erasing all pending window events after destroying the window. (Or selectively erasing any pending window events that have the same window ID as the destroyed window, if you ever use multiple windows.) SDL_FlushEvent(SDL_WINDOWEVENT) will do the former. This bug now appears to be fixed in the latest SDL 2 version. |