summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAlex Deucher <agd5f@yahoo.com>2005-06-30 02:02:10 +0000
committerAlex Deucher <agd5f@yahoo.com>2005-06-30 02:02:10 +0000
commit6d9c02d58eae1966e8fa8d7d305849c6e57434ad (patch)
tree414c56e1d6ac016c14e1d8fe076ca238253b6a9a /src
parent85365b791542cab221c37c9b3b4593ea0c6c9e2d (diff)
- small mergedfb fix from Thomas Winischhofer
Diffstat (limited to 'src')
-rw-r--r--src/radeon_mergedfb.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/radeon_mergedfb.c b/src/radeon_mergedfb.c
index 91934768..25088c38 100644
--- a/src/radeon_mergedfb.c
+++ b/src/radeon_mergedfb.c
@@ -706,24 +706,23 @@ RADEONUpdateXineramaScreenInfo(ScrnInfoPtr pScrn1)
}
if((usenonrect) && (info->CRT2Position != radeonClone) && info->maxCRT1_X1) {
-#if 0
switch(info->CRT2Position) {
case radeonLeftOf:
case radeonRightOf:
- if((info->maxCRT1_Y1 != realvirtY) && (info->maxCRT2_Y1 != realvirtY)) {
+ if((info->maxCRT1_Y1 != realvirtY) && (info->maxCRT2_Y2 != realvirtY)) {
usenonrect = FALSE;
}
break;
case radeonAbove:
case radeonBelow:
- if((info->maxCRT1_X1 != realvirtX) && (info->maxCRT2_X1 != realvirtX)) {
+ if((info->maxCRT1_X1 != realvirtX) && (info->maxCRT2_X2 != realvirtX)) {
usenonrect = FALSE;
}
break;
case radeonClone:
break;
}
-#endif
+
if(infochanged && !usenonrect) {
xf86DrvMsg(pScrn1->scrnIndex, X_INFO,
"Virtual screen size does not match maximum display modes...\n");