summaryrefslogtreecommitdiffstats
path: root/perl-install/Xconfig/xfreeX.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2003-01-23 13:10:51 +0000
committerPascal Rigaux <pixel@mandriva.com>2003-01-23 13:10:51 +0000
commitc70e56839df5a0942c00cb29707db1a2e021cf00 (patch)
tree1b8e1201b8b89b696175589f8f052de4240afd62 /perl-install/Xconfig/xfreeX.pm
parent8524fabd5308049f362cd42002b472f066c4e0f8 (diff)
downloaddrakx-c70e56839df5a0942c00cb29707db1a2e021cf00.tar
drakx-c70e56839df5a0942c00cb29707db1a2e021cf00.tar.gz
drakx-c70e56839df5a0942c00cb29707db1a2e021cf00.tar.bz2
drakx-c70e56839df5a0942c00cb29707db1a2e021cf00.tar.xz
drakx-c70e56839df5a0942c00cb29707db1a2e021cf00.zip
introduce ->is_fbdev, and use it to simplify ->set_resolution
Diffstat (limited to 'perl-install/Xconfig/xfreeX.pm')
-rw-r--r--perl-install/Xconfig/xfreeX.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/Xconfig/xfreeX.pm b/perl-install/Xconfig/xfreeX.pm
index 8351c5685..5ffe2c0b3 100644
--- a/perl-install/Xconfig/xfreeX.pm
+++ b/perl-install/Xconfig/xfreeX.pm
@@ -185,7 +185,7 @@ sub set_resolution {
$Screen->{DefaultColorDepth} = { val => $resolution->{Depth} };
$Screen->{Display} = [ map {
my $modes = do {
- if ($resolution->{fbdev}) {
+ if ($raw_X->is_fbdev($Screen)) {
'"default"';
} else {
my @Modes = grep {