diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2005-03-08 10:06:10 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2005-03-08 10:06:10 +0000 |
commit | f10a498cc2b3eb5e3bfc9379d03fc40e04c2a05b (patch) | |
tree | bfb8a8efffa1113fcd25827af53186dbdf03678e /perl-install/Xconfig | |
parent | 27384c9e2488e093c5697455dc46337b7e5b298d (diff) | |
download | drakx-backup-do-not-use-f10a498cc2b3eb5e3bfc9379d03fc40e04c2a05b.tar drakx-backup-do-not-use-f10a498cc2b3eb5e3bfc9379d03fc40e04c2a05b.tar.gz drakx-backup-do-not-use-f10a498cc2b3eb5e3bfc9379d03fc40e04c2a05b.tar.bz2 drakx-backup-do-not-use-f10a498cc2b3eb5e3bfc9379d03fc40e04c2a05b.tar.xz drakx-backup-do-not-use-f10a498cc2b3eb5e3bfc9379d03fc40e04c2a05b.zip |
xbox support (by Stew)
Diffstat (limited to 'perl-install/Xconfig')
-rw-r--r-- | perl-install/Xconfig/resolution_and_depth.pm | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/perl-install/Xconfig/resolution_and_depth.pm b/perl-install/Xconfig/resolution_and_depth.pm index 48d74e338..58477499f 100644 --- a/perl-install/Xconfig/resolution_and_depth.pm +++ b/perl-install/Xconfig/resolution_and_depth.pm @@ -45,8 +45,10 @@ sub size2default_resolution { my ($size) = @_; #- size in inch if (arch() =~ /ppc/) { - require detect_devices; + require detect_devices; return "1024x768" if detect_devices::get_mac_model() =~ /^PowerBook|^iMac/; + } elsif (is_xbox()) { + return "640x480"; } my %monitorSize2resolution = ( |