summaryrefslogtreecommitdiffstats
path: root/lib/Xconfig/various.pm
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Xconfig/various.pm')
-rw-r--r--lib/Xconfig/various.pm8
1 files changed, 4 insertions, 4 deletions
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},
),