RandR: Fix issues discovered here during testing
authorChris Michael <cp.michael@samsung.com>
Thu, 26 Sep 2013 10:49:45 +0000 (11:49 +0100)
committerChris Michael <cp.michael@samsung.com>
Thu, 26 Sep 2013 11:15:34 +0000 (12:15 +0100)
commit8b28549aea2a6b28e6426f5f13f32677d6608e63
treeb001994c51a7e6b20ea73ef38f67b508fd4f60e6
parent1eb26ec077d3e2a3754f90ca681069f1654b974f
RandR: Fix issues discovered here during testing

- Add some more debugging printouts
- When we initially plug in a monitor, set to Clone by default
- During initial clone, we cannot assume the plugged-in device
supports the same Mode so try to find a mode based on size.
- On output changes, test that an output has a crtc assigned.
- If a detached output Was the primary monitor, reset primary in config
to a valid existing monitor.
- Improve output_crtc_find code for better detection of where we can
place a new output.
- Fix "preferred mode" detection error.

Signed-off-by: Chris Michael <cp.michael@samsung.com>
src/bin/e_randr.c