We are currently migrating Bugzilla to GitHub issues.
Any changes made to the bug tracker now will be lost, so please do not post new bugs or make changes to them.
When we're done, all bug URLs will redirect to their equivalent location on the new bug tracker.

Bug 2227 - Reported window size wrong when leaving fullscreen with active window size limits
Summary: Reported window size wrong when leaving fullscreen with active window size li...
Status: RESOLVED FIXED
Alias: None
Product: SDL
Classification: Unclassified
Component: video (show other bugs)
Version: HG 2.0
Hardware: All Linux
: P2 normal
Assignee: Sam Lantinga
QA Contact: Sam Lantinga
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-11-11 23:54 UTC by norfanin
Modified: 2018-08-07 15:54 UTC (History)
1 user (show)

See Also:


Attachments
Testcase for window size issue when leaving fullscreen. (2.57 KB, text/plain)
2013-11-11 23:54 UTC, norfanin
Details

Note You need to log in before you can comment on or make changes to this bug.
Description norfanin 2013-11-11 23:54:41 UTC
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.
Comment 1 Ryan C. Gordon 2018-08-07 15:54:45 UTC
This was fixed at some point, as it works here, five years later.  :)

--ryan.