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 2007

Summary: SDL_SetWindowMinimumSize() not implemented on Windows.
Product: SDL Reporter: Ryan C. Gordon <icculus>
Component: videoAssignee: Sam Lantinga <slouken>
Status: RESOLVED FIXED QA Contact: Sam Lantinga <slouken>
Severity: normal    
Priority: P2 Keywords: target-2.0.0
Version: HG 2.0   
Hardware: All   
OS: Windows (All)   
Attachments: Fix for X11.

Description Ryan C. Gordon 2013-08-03 01:28:51 UTC
This can be done in the WM_GETMINMAXINFO event, but we don't do it at the moment.

--ryan.
Comment 1 Ryan C. Gordon 2013-08-03 01:49:39 UTC
This isn't implemented on X11 either (which is strange, I thought this was added for X11 originally). Cocoa is the only thing that DOES implement it, actually.

--ryan.
Comment 2 Rainer Deyke 2013-08-09 11:59:43 UTC
Created attachment 1280 [details]
Fix for X11.
Comment 3 Ryan C. Gordon 2013-08-09 22:06:09 UTC
Turns out we actually _do_ have a WM_GETMINMAXINFO thing for this on Windows, so X11 is the only outstanding one we care about at the moment.

Sam, my brain is too jetlagged to look at X11 code tonight.  :)   If you can approve Rainer's patch tonight, I'd like to get it into 2.0.0.

--ryan.
Comment 4 Sam Lantinga 2013-08-10 02:14:23 UTC
Patch is in, thanks!
http://hg.libsdl.org/SDL/rev/918703f5cff8