Add --preferred and --auto support.
authorKeith Packard <keithp@guitar.keithp.com>
Wed, 13 Dec 2006 17:53:17 +0000 (09:53 -0800)
committerKeith Packard <keithp@guitar.keithp.com>
Wed, 13 Dec 2006 17:53:17 +0000 (09:53 -0800)
commit6ef400f35d7d8712d1ad1efd87a8a3cb8bfacd96
tree4069c07cd2c441885798db41eea8d2a9af9f0fa8
parentc69c3080febd8617349f88557c3c04388a13a76c
Add --preferred and --auto support.

--preferred selects the 'best' mode for the monitor automatically, either by
looking for a preferred mode, or selecting one which is closest to the
current screen DPI.

--auto checks connected status and disables the output if disconnected,
otherwise it enables it with the preferred mode (as if --preferred).
xrandr.c