Mode on CRTC may not be present for any output.
authorKeith Packard <keithp@mandolin.keithp.com>
Tue, 2 Jan 2007 01:04:42 +0000 (17:04 -0800)
committerKeith Packard <keithp@mandolin.keithp.com>
Tue, 2 Jan 2007 01:04:42 +0000 (17:04 -0800)
commit4112d13d7b15150e33687b687604c3a72188c066
tree8ed0d0f8c15ed3401e4304fda645baa718a3ab68
parent6ef7b2deafd09ae1a4b159f3c2e6e9db64bf01dc
Mode on CRTC may not be present for any output.

When an output gets disconnected, the current CRTC mode may no longer be
listed as valid for any output, but will still be listed for the screen.
Search for current crtc mode in the screen list rather than the per-output
list.
xrandr.c