monitor_reconfig: Disable external output to avoid error.
If we're using 1920x1200 on an external output and then
unplug it and try to switch back to 1366x768, xrandr gives
us an error like:
xrandr: specified screen 1366x768 not large enough for
output VGA1 (1920x1200+0+0)
when trying to set the screen size. I think that this is
harmless, but it's easy enough to disable the external
output first in this case before adjusting the screen size.
TEST=plugged and unplugged VGA and ran monitor_reconfigure a bunch
Review URL: http://codereview.chromium.org/3410019
2 files changed