summaryrefslogtreecommitdiffstats
path: root/perl-install/Xconfig
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2005-03-10 19:32:17 +0000
committerPascal Rigaux <pixel@mandriva.com>2005-03-10 19:32:17 +0000
commit02f1b647e146ca8c4301aafffd0ebf8cb8e6d7ba (patch)
tree4d536cd4fa6077fbfba43322aed92078698925ed /perl-install/Xconfig
parenta2163b1668355186749b0b40f6a8525dad5876b8 (diff)
downloaddrakx-02f1b647e146ca8c4301aafffd0ebf8cb8e6d7ba.tar
drakx-02f1b647e146ca8c4301aafffd0ebf8cb8e6d7ba.tar.gz
drakx-02f1b647e146ca8c4301aafffd0ebf8cb8e6d7ba.tar.bz2
drakx-02f1b647e146ca8c4301aafffd0ebf8cb8e6d7ba.tar.xz
drakx-02f1b647e146ca8c4301aafffd0ebf8cb8e6d7ba.zip
don't add modelines for 1280x1024, they are already in standard vesamodes (builtin Xorg)
Diffstat (limited to 'perl-install/Xconfig')
-rw-r--r--perl-install/Xconfig/xfree.pm2
1 files changed, 1 insertions, 1 deletions
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;