diff options
author | Mystery Man <unknown@mandriva.org> | 2002-08-09 10:26:12 +0000 |
---|---|---|
committer | Mystery Man <unknown@mandriva.org> | 2002-08-09 10:26:12 +0000 |
commit | fdd0c69b55f6192d1825eb8ddd95bf2806e626f8 (patch) | |
tree | 01303c8c4445a5828d744737e6c87cb973fafba6 /perl-install/Xconfig/screen.pm | |
parent | 9c49e6bfb611d4a73815cfa1a6e6821cd48a9ae2 (diff) | |
download | drakx-fdd0c69b55f6192d1825eb8ddd95bf2806e626f8.tar drakx-fdd0c69b55f6192d1825eb8ddd95bf2806e626f8.tar.gz drakx-fdd0c69b55f6192d1825eb8ddd95bf2806e626f8.tar.bz2 drakx-fdd0c69b55f6192d1825eb8ddd95bf2806e626f8.tar.xz drakx-fdd0c69b55f6192d1825eb8ddd95bf2806e626f8.zip |
This commit was manufactured by cvs2svn to create tag 'V1_1_9_9mdk'.V1_1_9_9mdk
Diffstat (limited to 'perl-install/Xconfig/screen.pm')
-rw-r--r-- | perl-install/Xconfig/screen.pm | 42 |
1 files changed, 0 insertions, 42 deletions
diff --git a/perl-install/Xconfig/screen.pm b/perl-install/Xconfig/screen.pm deleted file mode 100644 index 761c5defd..000000000 --- a/perl-install/Xconfig/screen.pm +++ /dev/null @@ -1,42 +0,0 @@ -package Xconfig::screen; # $Id$ - -use diagnostics; -use strict; - -use common; - - -sub configure { - my ($raw_X, $card) = @_; - - my @devices = $raw_X->get_devices; - my @monitors = $raw_X->get_monitors; - - if (@monitors < @devices) { - $raw_X->set_monitors(@monitors, ({}) x (@devices - @monitors)); - @monitors = $raw_X->get_monitors; - } - - if ($card->{server}) { - $raw_X->{xfree3}->set_screens({ Device => $devices[0]{Identifier}, Monitor => $monitors[0]{Identifier}, - Driver => $Xconfig::card::serversdriver{$card->{server}} || internal_error("bad XFree3 server $card->{server}"), - }); - } else { - @{$raw_X->{xfree3}} = (); - } - - if ($card->{Driver}) { - my @sections = mapn { - my ($device, $monitor) = @_; - { Device => $device->{Identifier}, Monitor => $monitor->{Identifier} } - } \@devices, \@monitors; - - $raw_X->{xfree4}->set_screens(@sections); - } else { - @{$raw_X->{xfree4}} = (); - } - - 1; -} - -1; |