summaryrefslogtreecommitdiff
path: root/cfb
diff options
context:
space:
mode:
authorAdam Jackson <ajax@redhat.com>2008-03-04 11:38:34 -0500
committerAdam Jackson <ajax@redhat.com>2008-03-04 11:38:34 -0500
commit27e7dacbf7ef17712be31ff90f98ee3a5c5cf909 (patch)
tree38c4fb6225422091865691e53a0e98cf331ab60c /cfb
parent95df04b744c6a3498a9a9e2ea9bb03ee780e60f8 (diff)
Make xf86InitialConfiguration slightly smarter.
Old heuristic was to find the first monitor that expressed a preference, then attempt to get all other monitors to agree. This doesn't work particularly well when the two sets of modes don't precisely intersect, you get overlapping-but-not-identical output geometry and things go wrong. New heuristic is: - Exact user preference, if given - Exact output preference, if the same for all outputs - Best (largest) mode of modes common to all outputs: - with the same aspect ratio as all outputs (may be NULL) - with 4:3 aspect ratio - Then the old heuristic to try to get something lit Note that it is simply not doable to have a reliable initial output guess if you insist on trying to clone all outputs together. It's far too easy to end up with displays that simply don't have modes in common. We need to switch to right-of placement someday, once we're not limited to CRTC size limits and we have working multi-GPU in RANDR.
Diffstat (limited to 'cfb')
0 files changed, 0 insertions, 0 deletions