| Summary: | SDL_SetWindowSize and window size limits | ||
|---|---|---|---|
| Product: | SDL | Reporter: | norfanin |
| Component: | video | Assignee: | Sam Lantinga <slouken> |
| Status: | RESOLVED FIXED | QA Contact: | Sam Lantinga <slouken> |
| Severity: | normal | ||
| Priority: | P2 | ||
| Version: | HG 2.0 | ||
| Hardware: | All | ||
| OS: | All | ||
| Attachments: | Simple window size limit testcase. | ||
|
Description
norfanin
2013-10-22 21:42:40 UTC
Created attachment 1393 [details]
Simple window size limit testcase.
This is a simple testcase that tries to make the window bigger than the limits. The window managers enforce the limits, but SDL reports the wrong values.
Happens on Windows and Linux. OS X seems to be handling it correctly.
Good catch. This should be fixed, thanks! https://hg.libsdl.org/SDL/rev/7c249ca44069 No comment on my questions? I may be able to point out and propose more stuff if I know the expected behaviour. Oh, your commit changed SDL 2's behaviour on Windows so that it now respects the system defaults (in certain situations?). It's not possible to create windows larger than the desktop size anymore. This was discussed over here, but there's no clear statement about what the expected behaviour is supposed to be. https://bugzilla.libsdl.org/show_bug.cgi?id=1848 |