diff options
author | Francois Pons <fpons@mandriva.com> | 1999-10-20 14:29:46 +0000 |
---|---|---|
committer | Francois Pons <fpons@mandriva.com> | 1999-10-20 14:29:46 +0000 |
commit | ac3dfbf4b8c0d97ce7e44c2fe714919e7847d987 (patch) | |
tree | 69e8427982209737432b31ebc7e46feb0b4aeb3c /perl-install/Xconfig.pm | |
parent | 6437ef0e906d16d5c9dd0ba7477b3f657a8ac12b (diff) | |
download | drakx-backup-do-not-use-ac3dfbf4b8c0d97ce7e44c2fe714919e7847d987.tar drakx-backup-do-not-use-ac3dfbf4b8c0d97ce7e44c2fe714919e7847d987.tar.gz drakx-backup-do-not-use-ac3dfbf4b8c0d97ce7e44c2fe714919e7847d987.tar.bz2 drakx-backup-do-not-use-ac3dfbf4b8c0d97ce7e44c2fe714919e7847d987.tar.xz drakx-backup-do-not-use-ac3dfbf4b8c0d97ce7e44c2fe714919e7847d987.zip |
*** empty log message ***
Diffstat (limited to 'perl-install/Xconfig.pm')
-rw-r--r-- | perl-install/Xconfig.pm | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/perl-install/Xconfig.pm b/perl-install/Xconfig.pm index d5f65f42b..af5c10f39 100644 --- a/perl-install/Xconfig.pm +++ b/perl-install/Xconfig.pm @@ -90,6 +90,11 @@ sub getinfoFromXF86Config { } } } + #- get the default resolution. + my @depth = keys %{$o->{card}{depth}}; + $o->{resolution_wanted} ||= + $o->{card}{depth}{$o->{card}{default_depth} || $depth[0]}[0][0] . "x" . + $o->{card}{depth}{$o->{card}{default_depth} || $depth[0]}[0][1]; $o; } |