From c70e56839df5a0942c00cb29707db1a2e021cf00 Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Thu, 23 Jan 2003 13:10:51 +0000 Subject: introduce ->is_fbdev, and use it to simplify ->set_resolution --- perl-install/Xconfig/xfreeX.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'perl-install/Xconfig/xfreeX.pm') 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 { -- cgit v1.2.1