aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2005-03-10 10:44:52 +0000
committerPascal Rigaux <pixel@mandriva.com>2005-03-10 10:44:52 +0000
commit008ff5f2e0104814d8a8de0d5c43325d825413bd (patch)
treea8fa4b1d0a76cb3df5c9d4a56c583b994b5f1cb3
parente779298a9e38a8d512d7c2ced89bc77451bbff6b (diff)
downloadmonitor-edid-008ff5f2e0104814d8a8de0d5c43325d825413bd.tar
monitor-edid-008ff5f2e0104814d8a8de0d5c43325d825413bd.tar.gz
monitor-edid-008ff5f2e0104814d8a8de0d5c43325d825413bd.tar.bz2
monitor-edid-008ff5f2e0104814d8a8de0d5c43325d825413bd.tar.xz
monitor-edid-008ff5f2e0104814d8a8de0d5c43325d825413bd.zip
better drop weird detailed_timings in XFdrake
-rwxr-xr-xmonitor-parse-edid4
1 files changed, 1 insertions, 3 deletions
diff --git a/monitor-parse-edid b/monitor-parse-edid
index 97d74d7..53e7d50 100755
--- a/monitor-parse-edid
+++ b/monitor-parse-edid
@@ -227,9 +227,7 @@ sub parse_edid {
$h->{$field} += $hi << $detailed_timing_field_size{$field};
}
push @{$edid{detailed_timings}}, $h
- if ($h->{horizontal_active} > 0 && $h->{vertical_active} > 0)
- && ($h->{horizontal_active} != 720 && $h->{horizontal_active} != 350)
- && ($h->{horizontal_active} != 640 && $h->{horizontal_active} != 350);
+ if $h->{horizontal_active} > 0 && $h->{vertical_active} > 0;
} else {
(my $flag, $vv) = unpack("n x a*", $vv);