Set primary output before crtc settings.
authorChris Michael <devilhorns@comcast.net>
Fri, 24 May 2013 17:42:45 +0000 (18:42 +0100)
committerChris Michael <devilhorns@comcast.net>
Fri, 24 May 2013 17:42:45 +0000 (18:42 +0100)
commit04936b207ad51b8950ba0a4d03cfeaa8935115c9
treeb2142e883aa7b65a5203e0cd59bb485d0c7db462
parent028c6ba37813080805bb5ed7170040d2f6a92659
Set primary output before crtc settings.
If the primary output saved in config does not exist, then set primary
to the first output.

Signed-off-by: Chris Michael <devilhorns@comcast.net>
src/bin/e_randr.c