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 1157

Summary: Unwanted maximize after toggling fullscreen (top-left corner magic?)
Product: SDL Reporter: rayne <rayneolivetti>
Component: videoAssignee: Sam Lantinga <slouken>
Status: RESOLVED FIXED QA Contact: Sam Lantinga <slouken>
Severity: normal    
Priority: P2 CC: adam, jspradlin
Version: 1.2.14   
Hardware: x86   
OS: Linux   
Attachments: test case

Description rayne 2011-03-01 12:36:46 UTC
I position an SDL application at the top left corner of the screen, switch to fullscreen and back to windowed mode (with old dimensions), and my window is weirdly maximized.

This happens only when the program is at top-left, and nowhere else.
Comment 1 rayne 2011-03-01 14:30:57 UTC
Created attachment 592 [details]
test case

An example case.
It starts at top-left by default on my desktop, hitting F key twice demonstrates the problem.
Comment 2 Jen Spradlin 2011-04-12 19:58:30 UTC
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!
Comment 3 rayne 2011-09-17 20:25:33 UTC
Hi there!

Sorry about the delay. I confirmed that the unwanted maximize is gone in v1.3. However, the window still goes back to top-left corner, forgetting it's previous position.
Comment 4 Adam M. 2014-05-12 21:42:58 UTC
This should not be marked as WAITING because the question was answered years ago.
Comment 5 Sam Lantinga 2014-06-22 18:12:29 UTC
The unwanted maximize is taken care of.