ddc: Don't try to publish a root window property for DisplayID

This commit is contained in:
Adam Jackson 2009-06-09 10:05:01 -04:00
parent c302a5ff49
commit 14103b7812

View File

@ -45,7 +45,10 @@ addRootWindowProperties(ScrnInfoPtr pScrn, xf86MonPtr DDC)
Bool makeEDID1prop = FALSE;
Bool makeEDID2prop = FALSE;
if (DDC->ver.version == 1) {
if (DDC->flags & MONITOR_DISPLAYID) {
/* Don't bother, use RANDR already */
return;
} else if (DDC->ver.version == 1) {
makeEDID1prop = TRUE;
} else if (DDC->ver.version == 2) {
int checksum1;