Add --rate support to RandR 1.2 mode selection.
authorKeith Packard <keithp@neko.keithp.com>
Sun, 31 Dec 2006 20:45:25 +0000 (12:45 -0800)
committerKeith Packard <keithp@neko.keithp.com>
Sun, 31 Dec 2006 20:45:25 +0000 (12:45 -0800)
commitd9aeb4a7544ad4a33f6f54bc46bff5cdf231a986
tree9044c3228387acafed383dc5c4f50c521d63d267
parentc04d69cbd8a8a96862356afcda6ee679d663a524
Add --rate support to RandR 1.2 mode selection.

Search for mode closest to specified rate for each output and use that
instead of the one with the first matching name. If no rate is specified,
the first one still matches allowing the driver to place preferred rates
first in the list.
xrandr.c