diff options
author | Olivier Blin <oblin@mandriva.com> | 2009-10-08 17:02:40 +0000 |
---|---|---|
committer | Olivier Blin <oblin@mandriva.com> | 2009-10-08 17:02:40 +0000 |
commit | 09735a7b0582f0f23364d79492446b5cb8c41e76 (patch) | |
tree | b8a48b2247e595560e50beb2258080561becbad3 | |
parent | 822c12b70808db842871a7cc81ed11afa7eb2798 (diff) | |
download | drakx-kbd-mouse-x11-09735a7b0582f0f23364d79492446b5cb8c41e76.tar drakx-kbd-mouse-x11-09735a7b0582f0f23364d79492446b5cb8c41e76.tar.gz drakx-kbd-mouse-x11-09735a7b0582f0f23364d79492446b5cb8c41e76.tar.bz2 drakx-kbd-mouse-x11-09735a7b0582f0f23364d79492446b5cb8c41e76.tar.xz drakx-kbd-mouse-x11-09735a7b0582f0f23364d79492446b5cb8c41e76.zip |
use 28.8kHz as lower HorizSync (for 800x480)
-rw-r--r-- | NEWS | 2 | ||||
-rw-r--r-- | lib/Xconfig/monitor.pm | 6 |
2 files changed, 5 insertions, 3 deletions
@@ -1,3 +1,5 @@ +- use 28.8kHz as lower HorizSync (for 800x480) + Version 0.82 - 23 September 2009 - don't consider xorg.conf files with no InputDevice sections as invalid, fixes bug reported on cooker mailing list diff --git a/lib/Xconfig/monitor.pm b/lib/Xconfig/monitor.pm index 75fcb6e..26251e0 100644 --- a/lib/Xconfig/monitor.pm +++ b/lib/Xconfig/monitor.pm @@ -224,8 +224,8 @@ sub adjust_HorizSync_from_edid { my ($hmin, $hmax) = $monitor->{HorizSync} =~ /(\d+)-(\d+)/ or return; if ($hmin > 45) { - log::l("replacing HorizSync $hmin-$hmax with 29.5-$hmax (allow 800x600)"); - $monitor->{HorizSync} = "29.5-$hmax"; + log::l("replacing HorizSync $hmin-$hmax with 28.8-$hmax (allow 800x480)"); + $monitor->{HorizSync} = "28.8-$hmax"; } } #- the VertRefresh range is too weird @@ -330,7 +330,7 @@ sub generic_flat_panel_ { { VendorName => 'Generic', ModelName => "Flat Panel ${X}x${Y}", - HorizSync => '29.5-' . ($X > 1920 ? '100' : '90'), VertRefresh => '60', + HorizSync => '28.8-' . ($X > 1920 ? '100' : '90'), VertRefresh => '60', preferred_resolution => { X => $X, Y => $Y }, }; } |