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 - SDL_SetWindowMinimumSize() not implemented on Windows.
Summary: SDL_SetWindowMinimumSize() not implemented on Windows.
Status: RESOLVED FIXED
Alias: None
Product: SDL
Classification: Unclassified
Component: video (show other bugs)
Version: HG 2.0
Hardware: All Windows (All)
: P2 normal
Assignee: Sam Lantinga
QA Contact: Sam Lantinga
URL:
Keywords: target-2.0.0
Depends on:
Blocks:
 
Reported: 2013-08-03 01:28 UTC by Ryan C. Gordon
Modified: 2013-08-10 02:14 UTC (History)
0 users

See Also:


Attachments
Fix for X11. (3.64 KB, patch)
2013-08-09 11:59 UTC, Rainer Deyke
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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