From 29b806152b054b13c04bfbc6b898afecd6fb8f78 Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Wed, 1 Aug 2007 14:49:03 +0000 Subject: - internal: add many options as having to be used only once, easing their use and fixing setting them (eg #31942 where one can't click "Options" after setting EXA) --- lib/Xconfig/various.pm | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'lib/Xconfig/various.pm') diff --git a/lib/Xconfig/various.pm b/lib/Xconfig/various.pm index 2bef5c9..ff823a1 100644 --- a/lib/Xconfig/various.pm +++ b/lib/Xconfig/various.pm @@ -70,15 +70,15 @@ sub various { if_($::isStandalone, xdm => runlevel() == 5), if_($b_read_existing, Composite => ($raw_X->get_Section('Extensions') || {})->{Composite}, - if_(($card->{Options}{MonitorLayout} || [])->[0] eq '"NONE,CRT+LFP"' || - ($card->{Options}{TwinViewOrientation} || [])->[0] eq '"Clone"', + if_($card->{Options}{MonitorLayout} eq 'NONE,CRT+LFP' || + $card->{Options}{TwinViewOrientation} eq 'Clone', Clone => 1), - if_(($card->{Options}{MonitorLayout} || [])->[0] eq '"LVDS,NONE"', + if_($card->{Options}{MonitorLayout} eq 'LVDS,NONE', Clone => 0), if_($card->{Options}{BIOSHotkeys}, BIOSHotkeys => 1), if_($card->{Options}{AccelMethod}, - EXA => ($card->{Options}{AccelMethod} || [])->[0] eq '"EXA"'), + EXA => $card->{Options}{AccelMethod} eq 'EXA'), if_($card->{Driver} eq 'nvidia', RenderAccel => !$card->{Options}{RenderAccel}, ), -- cgit v1.2.1