From 44acadbf898afdabebc0afcee757061f8ae0b69c Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Thu, 17 Mar 2005 20:43:27 +0000 Subject: have 1280x1024 in both 4/3 and 5/4 ratios --- perl-install/Xconfig/resolution_and_depth.pm | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'perl-install/Xconfig') 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 } @_; -- cgit v1.2.1