summaryrefslogtreecommitdiffstats
path: root/perl-install/Xconfig
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2005-03-17 20:43:27 +0000
committerPascal Rigaux <pixel@mandriva.com>2005-03-17 20:43:27 +0000
commit44acadbf898afdabebc0afcee757061f8ae0b69c (patch)
treeffe7edd8c001e277e6e473a6e954ffe364ed8141 /perl-install/Xconfig
parente863a16c5313fa6711ca3b48d5f17dc4d5d4a8c0 (diff)
downloaddrakx-44acadbf898afdabebc0afcee757061f8ae0b69c.tar
drakx-44acadbf898afdabebc0afcee757061f8ae0b69c.tar.gz
drakx-44acadbf898afdabebc0afcee757061f8ae0b69c.tar.bz2
drakx-44acadbf898afdabebc0afcee757061f8ae0b69c.tar.xz
drakx-44acadbf898afdabebc0afcee757061f8ae0b69c.zip
have 1280x1024 in both 4/3 and 5/4 ratios
Diffstat (limited to 'perl-install/Xconfig')
-rw-r--r--perl-install/Xconfig/resolution_and_depth.pm5
1 files changed, 4 insertions, 1 deletions
diff --git a/perl-install/Xconfig/resolution_and_depth.pm b/perl-install/Xconfig/resolution_and_depth.pm
index 2576b01c3..ae7986b8a 100644
--- a/perl-install/Xconfig/resolution_and_depth.pm
+++ b/perl-install/Xconfig/resolution_and_depth.pm
@@ -239,7 +239,10 @@ sub choose_gtk {
my $chosen_ratio = resolution2ratio($chosen_res) || '4/3';
my $filter_on_ratio = sub {
- grep { $_->{ratio} eq $chosen_ratio } @_;
+ grep {
+ $_->{ratio} eq $chosen_ratio
+ || $chosen_ratio eq '4/3' && "$_->{X}x$_->{Y}" eq '1280x1024';
+ } @_;
};
my $filter_on_Depth = sub {
grep { $_->{Depth} == $chosen_Depth } @_;