From b20fa07a463ad522aeee545eecf3fff7dbb65a6f Mon Sep 17 00:00:00 2001 From: Stew Benedict Date: Thu, 15 Mar 2001 13:09:01 +0000 Subject: force 1024x768 on Powerbook --- perl-install/Xconfigurator.pm | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'perl-install') 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 -- cgit v1.2.1