| Summary: | SDL bypasses WM to set resolution | ||
|---|---|---|---|
| Product: | SDL | Reporter: | jan <oberon3k> |
| Component: | video | Assignee: | Sam Lantinga <slouken> |
| Status: | RESOLVED FIXED | QA Contact: | Sam Lantinga <slouken> |
| Severity: | major | ||
| Priority: | P2 | ||
| Version: | don't know | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
|
Description
jan
2012-09-03 10:08:28 UTC
If I Understand right the netwm standard does not say how to deal with resolution changes: http://standards.freedesktop.org/wm-spec/wm-spec-latest.html A good approach would be to ask the WM to go full-screen and deal with the windows size you get. Yes, SDL 2.0 does exactly that on modern window managers. Unfortunately, the resolution we get back is the desktop resolution. What window manager developers did you talk with? We'd like to work with window manager developers to see if we can cooperate with the window manager so they change resolution for us. SDL 2.0 should be better behaved in this regard in that it will not use XRandR and will instead use the older XVidTune+lock input method until window managers can support changing resolutions on applications' behalf. |