diff options
-rw-r--r-- | perl-install/Xconfig/resolution_and_depth.pm | 5 |
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 } @_; |