708d7fa
--- xorg-server-1.2.0/hw/xfree86/ddc/ddcProperty.c.jx	2007-02-26 13:39:00.000000000 -0500
708d7fa
+++ xorg-server-1.2.0/hw/xfree86/ddc/ddcProperty.c	2007-02-26 14:37:33.000000000 -0500
708d7fa
@@ -313,8 +313,10 @@
708d7fa
 
708d7fa
     preferred = PREFERRED_TIMING_MODE(DDC->features.msc);
708d7fa
 
708d7fa
-    Monitor->widthmm = 10 * DDC->features.hsize;
708d7fa
-    Monitor->heightmm = 10 * DDC->features.vsize;
708d7fa
+    if (Monitor->widthmm <= 0 && Monitor->heightmm <= 0) {
708d7fa
+	Monitor->widthmm = 10 * DDC->features.hsize;
708d7fa
+	Monitor->heightmm = 10 * DDC->features.vsize;
708d7fa
+    }
708d7fa
     
708d7fa
     /* If this is a digital display, then we can use reduced blanking */
708d7fa
     if (DDC->features.input_type)