| Summary: | Reported window size wrong when leaving fullscreen with active window size limits | ||
|---|---|---|---|
| Product: | SDL | Reporter: | norfanin |
| Component: | video | Assignee: | Sam Lantinga <slouken> |
| Status: | RESOLVED FIXED | QA Contact: | Sam Lantinga <slouken> |
| Severity: | normal | ||
| Priority: | P2 | CC: | icculus |
| Version: | HG 2.0 | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Attachments: | Testcase for window size issue when leaving fullscreen. | ||
This was fixed at some point, as it works here, five years later. :) --ryan. |
Created attachment 1420 [details] Testcase for window size issue when leaving fullscreen. On Linux, when leaving desktop-fullscreen and the window size limits are enabled, the window size reported by the events and SDL_GetWindowSize is still the fullscreen window size. Attached is a small testcase. Press 2 to toggle desktop-fullscreen. Press space to print the size reported by SDL_GetWindowSize. Escape quits.