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 1372

Summary: OSX Window Maximize/Resize Doesn't Update Window Position (with Patch)
Product: SDL Reporter: Alex Nankervis <anankervis>
Component: videoAssignee: Sam Lantinga <slouken>
Status: RESOLVED FIXED QA Contact: Sam Lantinga <slouken>
Severity: normal    
Priority: P2 CC: anankervis
Version: HG 2.0   
Hardware: x86_64   
OS: Mac OS X 10.7   
Attachments: diff

Description Alex Nankervis 2012-01-15 14:20:01 UTC
Created attachment 773 [details]
diff

SDL_cocoawindow.m, windowDidResize needs to also send a window move event. Depending on the corner you resize a window from, or when maximizing a window, the window position will change. Discovered this when creating a maximized window and found that the window position was stuck at the un-maximized window's value.

Diff with fix attached.
Comment 1 Sam Lantinga 2012-01-18 19:23:56 UTC
Fixed, thanks!
http://hg.libsdl.org/SDL/rev/5eecf59b698f