From 3a83f6a6bbc472e51c9c4da90f0c920cd96d0262 Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Thu, 4 Oct 2007 08:09:05 +0000 Subject: - better fix for typo in 0.32: don't wrongly default to "automatic" resolution when creating xorg.conf (in non --auto) --- lib/Xconfig/resolution_and_depth.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/Xconfig/resolution_and_depth.pm') diff --git a/lib/Xconfig/resolution_and_depth.pm b/lib/Xconfig/resolution_and_depth.pm index 0d7715e..2847e6b 100644 --- a/lib/Xconfig/resolution_and_depth.pm +++ b/lib/Xconfig/resolution_and_depth.pm @@ -195,9 +195,9 @@ sub choices { } sub configure { - my ($in, $raw_X, $card, $monitors, $b_auto) = @_; + my ($in, $raw_X, $card, $monitors, $b_auto, $o_resolution) = @_; - my ($default_resolution, @resolutions) = choices($raw_X, $raw_X->get_resolution, $card, $monitors); + my ($default_resolution, @resolutions) = choices($raw_X, $o_resolution || $raw_X->get_resolution, $card, $monitors); if ($b_auto) { #- use $default_resolution -- cgit v1.2.1