summaryrefslogtreecommitdiffstats
path: root/perl-install/Xconfig
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2005-03-11 19:16:28 +0000
committerPascal Rigaux <pixel@mandriva.com>2005-03-11 19:16:28 +0000
commit42454bc83a38c08612e5df74a9f9be8205db9e4c (patch)
tree7db4245227069d31bbf705955fa225cb9fd279c3 /perl-install/Xconfig
parent41d2e508487d5c16d951f27a4b4a4ea288cda674 (diff)
downloaddrakx-backup-do-not-use-42454bc83a38c08612e5df74a9f9be8205db9e4c.tar
drakx-backup-do-not-use-42454bc83a38c08612e5df74a9f9be8205db9e4c.tar.gz
drakx-backup-do-not-use-42454bc83a38c08612e5df74a9f9be8205db9e4c.tar.bz2
drakx-backup-do-not-use-42454bc83a38c08612e5df74a9f9be8205db9e4c.tar.xz
drakx-backup-do-not-use-42454bc83a38c08612e5df74a9f9be8205db9e4c.zip
for 1400x1050, put the resolutions (60 and 75Hz are already in extramodes, but they are GTF modelines, we can overrule them)
Diffstat (limited to 'perl-install/Xconfig')
-rw-r--r--perl-install/Xconfig/xfree.pm3
1 files changed, 2 insertions, 1 deletions
diff --git a/perl-install/Xconfig/xfree.pm b/perl-install/Xconfig/xfree.pm
index 58052b069..4810ac44d 100644
--- a/perl-install/Xconfig/xfree.pm
+++ b/perl-install/Xconfig/xfree.pm
@@ -304,7 +304,8 @@ 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 ($res ne '1280x1024' && $Xconfig::xfree::resolution2ratio{$res} ne '4/3') {
+ if ($res ne '1280x1024' &&
+ ($res eq '1400x1050' || $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;