--- a/randr/rrcrtc.c
+++ b/randr/rrcrtc.c
-@@ -273,27 +273,43 @@
+@@ -273,27 +273,43 @@ RRCrtcPendingProperties(RRCrtcPtr crtc)
return FALSE;
}
/* overlapping counts as adjacent */
static Bool
crtcs_adjacent(const RRCrtcPtr a, const RRCrtcPtr b)
-@@ -466,9 +482,9 @@
+@@ -466,9 +482,9 @@ rrCheckPixmapBounding(ScreenPtr pScreen,
if (!pScrPriv->crtcs[c]->mode)
continue;
newbox.x1 = pScrPriv->crtcs[c]->x;
}
RegionInit(&new_crtc_region, &newbox, 1);
RegionUnion(&total_region, &total_region, &new_crtc_region);
-@@ -487,9 +503,9 @@
+@@ -487,9 +503,9 @@ rrCheckPixmapBounding(ScreenPtr pScreen,
if (!pScrPriv->crtcs[c]->mode)
continue;
newbox.x1 = pScrPriv->crtcs[c]->x;
}
RegionInit(&new_crtc_region, &newbox, 1);
RegionUnion(&total_region, &total_region, &new_crtc_region);
-@@ -544,8 +560,8 @@
+@@ -544,8 +560,8 @@ RRCrtcSet(RRCrtcPtr crtc,
int width = 0, height = 0;
if (mode) {
}
ErrorF("have a master to look out for\n");
ret = rrCheckPixmapBounding(master, crtc,
-@@ -1672,8 +1688,8 @@
+@@ -1672,8 +1688,8 @@ RRReplaceScanoutPixmap(DrawablePtr pDraw
changed = FALSE;
if (crtc->mode && crtc->x == pDrawable->x &&
crtc->y == pDrawable->y &&