summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install')
-rw-r--r--perl-install/Xconfig/monitor.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/perl-install/Xconfig/monitor.pm b/perl-install/Xconfig/monitor.pm
index abd141236..964380899 100644
--- a/perl-install/Xconfig/monitor.pm
+++ b/perl-install/Xconfig/monitor.pm
@@ -179,6 +179,7 @@ sub getinfoFromDDC() {
}
$monitor->{ModeLine} = Xconfig::xfree::default_ModeLine();
foreach (@{$monitor->{detailed_timings} || []}) {
+ next if $_->{bad_ratio};
unshift @{$monitor->{ModeLine}},
{ val => $_->{ModeLine}, pre_comment => $_->{ModeLine_comment} . "\n" };
}