summaryrefslogtreecommitdiffstats
path: root/lib/Xconfig/monitor.pm
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Xconfig/monitor.pm')
-rw-r--r--lib/Xconfig/monitor.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Xconfig/monitor.pm b/lib/Xconfig/monitor.pm
index 6c50b11..ab2d5cb 100644
--- a/lib/Xconfig/monitor.pm
+++ b/lib/Xconfig/monitor.pm
@@ -67,7 +67,7 @@ sub configure_auto_install {
} $monitors, $old_X->{monitors} if $old_X->{monitors};
if (!is_valid($monitors->[0])) {
- put_in_hash($monitors->[0], probe($old_X->{card}{Driver}));
+ put_in_hash($monitors->[0], probe($raw_X->get_Driver));
}
foreach my $monitor (@$monitors) {