Name CRTCs by index or id. Use current CRTC to get current mode.
authorKeith Packard <keithp@bouzouki.jf.intel.com>
Wed, 13 Dec 2006 19:27:30 +0000 (11:27 -0800)
committerKeith Packard <keithp@bouzouki.jf.intel.com>
Wed, 13 Dec 2006 19:27:30 +0000 (11:27 -0800)
commitb6c03827bae74ef5b9517c4246b0165dad8ee780
treee1326f6bd4f5bb7d903a40f195c14e80e209b3a1
parentc69c3080febd8617349f88557c3c04388a13a76c
Name CRTCs by index or id. Use current CRTC to get current mode.

CRTCs have no intrinsic name, so let users provide either the number in the
list or the XID when referring to them explicitly.
When no mode is specified, look up the current CRTC for the output and use
that mode, instead of using the mode on the target CRTC.
When switching an output from one CRTC
xrandr.c