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 3809 - Restore after maximize leads to wrong size
Summary: Restore after maximize leads to wrong size
Status: RESOLVED FIXED
Alias: None
Product: SDL
Classification: Unclassified
Component: video (show other bugs)
Version: HG 2.1
Hardware: x86_64 macOS 10.12
: P2 blocker
Assignee: Sam Lantinga
QA Contact: Sam Lantinga
URL:
Keywords: target-2.0.6
Depends on:
Blocks:
 
Reported: 2017-09-09 16:13 UTC by Andreas Falkenhahn
Modified: 2017-09-09 18:00 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andreas Falkenhahn 2017-09-09 16:13:45 UTC
My app opens a 640x480 window. When I click on the window's maximize button, the window correctly fills the entire screen and loses its borders. But clicking on the restore button now doesn't restore the window to its original 640x480 size. Instead, the window size is identical to the screen size now. The only difference to the previous state is that the window now has borders again but it isn't restored to 640x480.

The problem only appears with the latest SDL2 master on OSX 10.12.6. With SDL 2.0.5 it works correctly.
Comment 1 Sam Lantinga 2017-09-09 18:00:42 UTC
Fixed, thanks!
https://hg.libsdl.org/SDL/rev/6f723ec1d371