summaryrefslogtreecommitdiffstats
path: root/perl-install/Xconfig
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2005-03-01 21:11:41 +0000
committerPascal Rigaux <pixel@mandriva.com>2005-03-01 21:11:41 +0000
commit1cc063a242f4efe2b7023efee16cadaf50abd07a (patch)
tree903d20cf4cffaaed8dfc7daec1fb60a61f48289d /perl-install/Xconfig
parentd61757486adf12ed4cb7cc112908aa2cf8a31f62 (diff)
downloaddrakx-1cc063a242f4efe2b7023efee16cadaf50abd07a.tar
drakx-1cc063a242f4efe2b7023efee16cadaf50abd07a.tar.gz
drakx-1cc063a242f4efe2b7023efee16cadaf50abd07a.tar.bz2
drakx-1cc063a242f4efe2b7023efee16cadaf50abd07a.tar.xz
drakx-1cc063a242f4efe2b7023efee16cadaf50abd07a.zip
add 1280x600 for VAIO PCG-C1M (bugzilla #5192)
Diffstat (limited to 'perl-install/Xconfig')
-rw-r--r--perl-install/Xconfig/xfree.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/perl-install/Xconfig/xfree.pm b/perl-install/Xconfig/xfree.pm
index f6d6c715b..edb20fc09 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 ($resolution2ratio{$res} ne '4/3') {
+ if ($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;
@@ -568,7 +568,7 @@ our %ratio2resolutions = (
N_("_:weird aspect ratio\nother") => [
# 2.13 = 32/15
- qw(1024x480), # VAIO
+ qw(1024x480 1280x600), # VAIO
# 2.67 = 8/3
qw(2048x768 2560x960 3200x1200),