summaryrefslogtreecommitdiffstats
path: root/perl-install/Xconfig/xfree.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2005-03-10 19:31:27 +0000
committerPascal Rigaux <pixel@mandriva.com>2005-03-10 19:31:27 +0000
commita2163b1668355186749b0b40f6a8525dad5876b8 (patch)
tree2447989be9f41c30146233fbcdcba8316714cdc1 /perl-install/Xconfig/xfree.pm
parent07176b363fe8b3cb3c885f378c93748ef749dcfb (diff)
downloaddrakx-a2163b1668355186749b0b40f6a8525dad5876b8.tar
drakx-a2163b1668355186749b0b40f6a8525dad5876b8.tar.gz
drakx-a2163b1668355186749b0b40f6a8525dad5876b8.tar.bz2
drakx-a2163b1668355186749b0b40f6a8525dad5876b8.tar.xz
drakx-a2163b1668355186749b0b40f6a8525dad5876b8.zip
when adding gtf modelines, have them sorted with high frequencies first (since Xorg prefer the first matching modeline (!))
Diffstat (limited to 'perl-install/Xconfig/xfree.pm')
-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 6a18d202c..67f9955f3 100644
--- a/perl-install/Xconfig/xfree.pm
+++ b/perl-install/Xconfig/xfree.pm
@@ -311,7 +311,7 @@ sub add_gtf_ModeLines {
chomp $val;
$name =~ s/\.00//; #- nicer that way
{ val => qq("${name}"$val), pre_comment => "# $banner\n" };
- } @Xconfig::xfree::vfreqs;
+ } reverse(sort_numbers(@Xconfig::xfree::vfreqs));
}
$raw_X->set_monitors(map {