From 02f1b647e146ca8c4301aafffd0ebf8cb8e6d7ba Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Thu, 10 Mar 2005 19:32:17 +0000 Subject: don't add modelines for 1280x1024, they are already in standard vesamodes (builtin Xorg) --- perl-install/Xconfig/xfree.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'perl-install/Xconfig') diff --git a/perl-install/Xconfig/xfree.pm b/perl-install/Xconfig/xfree.pm index 67f9955f3..58052b069 100644 --- a/perl-install/Xconfig/xfree.pm +++ b/perl-install/Xconfig/xfree.pm @@ -304,7 +304,7 @@ sub add_gtf_ModeLines { my $banner = 'modeline generated by gtf(1) [handled by XFdrake]'; my $res = $resolution->{X} . 'x' . $resolution->{Y}; my @to_add; - if ($Xconfig::xfree::resolution2ratio{$res} ne '4/3') { + if ($res ne '1280x1024' && $Xconfig::xfree::resolution2ratio{$res} ne '4/3') { @to_add = map { my $s = run_program::rooted_get_stdout($::prefix, 'gtf', $resolution->{X}, $resolution->{Y}, $_); my ($name, $val) = $s =~ /ModeLine\s*"(.*)"(.*)/i; -- cgit v1.2.1