summaryrefslogtreecommitdiffstats
path: root/perl-install/Xconfigurator.pm
diff options
context:
space:
mode:
authorStew Benedict <stewb@mandriva.org>2001-03-15 13:09:01 +0000
committerStew Benedict <stewb@mandriva.org>2001-03-15 13:09:01 +0000
commitb20fa07a463ad522aeee545eecf3fff7dbb65a6f (patch)
tree2355fd93e4a26a080d4d5e0cc1eeceb75f317153 /perl-install/Xconfigurator.pm
parentf02f5e15f1445b93ed3162a57bf15901ff7ec631 (diff)
downloaddrakx-b20fa07a463ad522aeee545eecf3fff7dbb65a6f.tar
drakx-b20fa07a463ad522aeee545eecf3fff7dbb65a6f.tar.gz
drakx-b20fa07a463ad522aeee545eecf3fff7dbb65a6f.tar.bz2
drakx-b20fa07a463ad522aeee545eecf3fff7dbb65a6f.tar.xz
drakx-b20fa07a463ad522aeee545eecf3fff7dbb65a6f.zip
force 1024x768 on Powerbook
Diffstat (limited to 'perl-install/Xconfigurator.pm')
-rw-r--r--perl-install/Xconfigurator.pm5
1 files changed, 5 insertions, 0 deletions
diff --git a/perl-install/Xconfigurator.pm b/perl-install/Xconfigurator.pm
index eb18f971a..257ad8560 100644
--- a/perl-install/Xconfigurator.pm
+++ b/perl-install/Xconfigurator.pm
@@ -576,6 +576,11 @@ sub autoDefaultDepth($$) {
sub autoDefaultResolution {
return "1024x768" if detect_devices::hasPCMCIA;
+ if (arch() =~ /ppc/) {
+ my $mac_model = detect_devices::get_mac_model();
+ return "1024x768" if $mac_model =~ /PowerBook1,1/; #- 800x600 not a pretty site on Powerbook
+ }
+
my ($size) = @_;
$monitorSize2resolution[round($size || 14)] || #- assume a small monitor (size is in inch)
$monitorSize2resolution[-1]; #- no corresponding resolution for this size. It means a big monitor, take biggest we have