| Summary: | Wayland: Properly discover displays and their modes. | ||
|---|---|---|---|
| Product: | SDL | Reporter: | bugs |
| Component: | video | Assignee: | Ryan C. Gordon <icculus> |
| Status: | RESOLVED FIXED | QA Contact: | Sam Lantinga <slouken> |
| Severity: | normal | ||
| Priority: | P2 | CC: | bugs, icculus |
| Version: | HG 2.1 | Keywords: | target-2.0.4 |
| Hardware: | All | ||
| OS: | Linux | ||
| Bug Depends on: | |||
| Bug Blocks: | 2803 | ||
| Attachments: |
Patch implementing that cleanup.
Fixup correctly handling refresh rate as mHz and not Hz. Wayland: Properly discover displays and their modes. |
||
Created attachment 2071 [details]
Fixup correctly handling refresh rate as mHz and not Hz.
This mistake was due to an issue in my compositor.
Created attachment 2107 [details]
Wayland: Properly discover displays and their modes.
Remove a forgotten variable.
(In reply to bugs from comment #2) > Created attachment 2107 [details] > Wayland: Properly discover displays and their modes. > > Remove a forgotten variable. This patch is now https://hg.libsdl.org/SDL/rev/975453c4e217, thanks! --ryan. |
Created attachment 2070 [details] Patch implementing that cleanup. The current Wayland backend creates a dummy display and uses a complicated way to fill it with every mode supported by every output. This patch cleans that mess up by attaching the displays and their modes to SDL’s internals as soon as they are received.