summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2004-11-16 12:06:03 +0000
committerPascal Rigaux <pixel@mandriva.com>2004-11-16 12:06:03 +0000
commit3ad5bf06a3888fb17e1b5025e96ff7f6f253730e (patch)
tree653507a0f4b5b12f903b7b94999af11b25e457a6
parent632f9163680de92c3b322f0f7e3ddf163358fba3 (diff)
downloaddrakx-backup-do-not-use-3ad5bf06a3888fb17e1b5025e96ff7f6f253730e.tar
drakx-backup-do-not-use-3ad5bf06a3888fb17e1b5025e96ff7f6f253730e.tar.gz
drakx-backup-do-not-use-3ad5bf06a3888fb17e1b5025e96ff7f6f253730e.tar.bz2
drakx-backup-do-not-use-3ad5bf06a3888fb17e1b5025e96ff7f6f253730e.tar.xz
drakx-backup-do-not-use-3ad5bf06a3888fb17e1b5025e96ff7f6f253730e.zip
set raw_LINES on every fglrx devices
-rw-r--r--perl-install/Xconfig/card.pm14
1 files changed, 9 insertions, 5 deletions
diff --git a/perl-install/Xconfig/card.pm b/perl-install/Xconfig/card.pm
index 27fec9b81..b34d97d41 100644
--- a/perl-install/Xconfig/card.pm
+++ b/perl-install/Xconfig/card.pm
@@ -45,13 +45,17 @@ sub from_raw_X {
sub to_raw_X {
my ($card, $raw_X) = @_;
- #- Specific ATI fglrx driver default options
- if ($card->{Driver} eq 'fglrx') {
- # $default_ATI_fglrx_config need to be move in proprietary ?
- $card->{raw_LINES} ||= default_ATI_fglrx_config();
+ my @cards = ($card, @{$card->{cards} || []});
+
+ foreach (@cards) {
+ #- Specific ATI fglrx driver default options
+ if ($_->{Driver} eq 'fglrx') {
+ # $default_ATI_fglrx_config need to be move in proprietary ?
+ $_->{raw_LINES} ||= default_ATI_fglrx_config();
+ }
}
- $raw_X->set_devices($card, @{$card->{cards} || []});
+ $raw_X->set_devices(@cards);
$raw_X->get_ServerLayout->{Xinerama} = { commented => !$card->{Xinerama}, Option => 1 }
if defined $card->{Xinerama};