afcbbe25e6
- BuildRequires: git. - Manage the source directory as a git repo. - Use git-am(1) to apply patches instead of %patch. - Reformat a bunch of patches to conform to git-am's rules. - Add wfb to file manifest. - Drop afb, sorry Amiga users. - Delete the SecurityPolicy man page from the buildroot, until we have a xorg-x11-server-common. - Update to today's snapshot.
22 lines
934 B
Diff
22 lines
934 B
Diff
From: Adam Jackson <ajax@redhat.com>
|
|
Date: Sun, 28 Oct 2007 09:37:52 +0100
|
|
Subject: [PATCH] Honor the Monitor section's DisplaySize directive.
|
|
|
|
---
|
|
diff -up xorg-server-1.3.0.0/hw/xfree86/modes/xf86EdidModes.c.da xorg-server-1.3.0.0/hw/xfree86/modes/xf86EdidModes.c
|
|
--- xorg-server-1.3.0.0/hw/xfree86/modes/xf86EdidModes.c.da 2007-09-26 17:04:02.000000000 +1000
|
|
+++ xorg-server-1.3.0.0/hw/xfree86/modes/xf86EdidModes.c 2007-09-26 17:04:27.000000000 +1000
|
|
@@ -401,8 +401,10 @@ xf86DDCMonitorSet(int scrnIndex, MonPtr
|
|
|
|
Monitor->DDC = DDC;
|
|
|
|
- Monitor->widthmm = 10 * DDC->features.hsize;
|
|
- Monitor->heightmm = 10 * DDC->features.vsize;
|
|
+ if (Monitor->widthmm <= 0 && Monitor->heightmm <= 0) {
|
|
+ Monitor->widthmm = 10 * DDC->features.hsize;
|
|
+ Monitor->heightmm = 10 * DDC->features.vsize;
|
|
+ }
|
|
|
|
/* If this is a digital display, then we can use reduced blanking */
|
|
if (DDC->features.input_type)
|