summaryrefslogtreecommitdiffstats
path: root/perl-install/Xconfig/resolution_and_depth.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2002-07-29 19:55:03 +0000
committerPascal Rigaux <pixel@mandriva.com>2002-07-29 19:55:03 +0000
commit8bb98380ad7d9da56b8b0bafe26e32e73ab84973 (patch)
treefdfadbbac9c3c0e0a65df6c881092cf1ac26f1d2 /perl-install/Xconfig/resolution_and_depth.pm
parentd06faa0d7f768a517071968e82b11ae00b5a768f (diff)
downloaddrakx-backup-do-not-use-8bb98380ad7d9da56b8b0bafe26e32e73ab84973.tar
drakx-backup-do-not-use-8bb98380ad7d9da56b8b0bafe26e32e73ab84973.tar.gz
drakx-backup-do-not-use-8bb98380ad7d9da56b8b0bafe26e32e73ab84973.tar.bz2
drakx-backup-do-not-use-8bb98380ad7d9da56b8b0bafe26e32e73ab84973.tar.xz
drakx-backup-do-not-use-8bb98380ad7d9da56b8b0bafe26e32e73ab84973.zip
(configure_auto_install): really use resolution_wanted given in $o
Diffstat (limited to 'perl-install/Xconfig/resolution_and_depth.pm')
-rw-r--r--perl-install/Xconfig/resolution_and_depth.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/Xconfig/resolution_and_depth.pm b/perl-install/Xconfig/resolution_and_depth.pm
index d2a6ff16f..3cec7cbf9 100644
--- a/perl-install/Xconfig/resolution_and_depth.pm
+++ b/perl-install/Xconfig/resolution_and_depth.pm
@@ -174,7 +174,7 @@ sub configure_auto_install {
my $resolution_wanted = { X => $old_X->{resolution_wanted}, Depth => $old_X->{default_depth} };
- my ($default_resolution) = choices($raw_X, $raw_X->get_resolution, $card, $monitor);
+ my ($default_resolution) = choices($raw_X, $resolution_wanted, $card, $monitor);
$default_resolution or die "you selected an unusable depth";
$raw_X->set_resolution($default_resolution);