summaryrefslogtreecommitdiffstats
path: root/lib/Xconfig
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2008-03-19 10:43:12 +0000
committerPascal Rigaux <pixel@mandriva.com>2008-03-19 10:43:12 +0000
commit122873357bba0473773afadf6fbbb9342c2f91f4 (patch)
tree43c4a6733740ca18cc9548c87236c319cabe80a5 /lib/Xconfig
parenteb31746003149ec60a82fbeac5005ac5b93e1f2d (diff)
downloaddrakx-kbd-mouse-x11-122873357bba0473773afadf6fbbb9342c2f91f4.tar
drakx-kbd-mouse-x11-122873357bba0473773afadf6fbbb9342c2f91f4.tar.gz
drakx-kbd-mouse-x11-122873357bba0473773afadf6fbbb9342c2f91f4.tar.bz2
drakx-kbd-mouse-x11-122873357bba0473773afadf6fbbb9342c2f91f4.tar.xz
drakx-kbd-mouse-x11-122873357bba0473773afadf6fbbb9342c2f91f4.zip
0.51
Diffstat (limited to 'lib/Xconfig')
-rw-r--r--lib/Xconfig/monitor.pm2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/Xconfig/monitor.pm b/lib/Xconfig/monitor.pm
index a99439d..36222af 100644
--- a/lib/Xconfig/monitor.pm
+++ b/lib/Xconfig/monitor.pm
@@ -158,6 +158,8 @@ that is beyond the capabilities of your monitor: you may damage your monitor.
sub _configure_automatic_LCD {
my ($monitor) = @_;
+ $monitor->{HorizSync} && $monitor->{VertRefresh} and return;
+
$monitor->{preferred_resolution}
&& Xconfig::xfree::resolution2ratio($monitor->{preferred_resolution}) eq '16/10' or return;