summaryrefslogtreecommitdiffstats
path: root/perl-install/Xconfig/xfreeX.pm
diff options
context:
space:
mode:
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 {