| Summary: | SDL_RestoreWindow() fails to restore maximized window | ||
|---|---|---|---|
| Product: | SDL | Reporter: | Charles Huber <genpfault> |
| Component: | video | Assignee: | Ryan C. Gordon <icculus> |
| Status: | RESOLVED FIXED | QA Contact: | Sam Lantinga <slouken> |
| Severity: | normal | ||
| Priority: | P2 | CC: | icculus |
| Version: | HG 2.0 | Keywords: | target-2.0.0 |
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Attachments: |
Simple demonstration program to toggle maximization state
"fix" SDL_RestoreWindow() |
||
Created attachment 835 [details]
"fix" SDL_RestoreWindow()
This seems to fix SDL_RestoreWindow() for me but I'm not sure how it affects non-X11 platforms.
(Sorry if you get a lot of copies of this email, we're touching dozens of bug reports right now.) Tagging a bunch of bugs as target-2.0.0, Priority 2. This means we're in the final stretch for an official SDL 2.0.0 release! These are the bugs we really want to fix before shipping if humanly possible. That being said, we don't promise to fix them because of this tag, we just want to make sure we don't forget to deal with them before we bless a final 2.0.0 release, and generally be organized about what we're aiming to ship. Hopefully you'll hear more about this bug soon. If you have more information (including "this got fixed at some point, nevermind"), we would love to have you come add more information to the bug report when you have a moment. Thanks! --ryan. Taking a look at this. --ryan. This should be fixed now in http://hg.libsdl.org/SDL/rev/b14d00c30095. Thanks! --ryan. |
Created attachment 834 [details] Simple demonstration program to toggle maximization state Running the attached program and pressing "f" maximizes the window (via SDL_MaximizeWindow()) as expected. Pressing "f" again fails to restore the window (via SDL_RestoreWindow()), as if it had not been called. Debian Wheezy, amd64. testver output: Compiled with SDL 2.0 or newer Compiled version: 2.0.0.6303 (hg-6303:6bb657898f55) Linked version: 2.0.0.6303 (hg-6303:6bb657898f55)