8517f83
--- xorg-server-1.3.0.0/randr/rrxinerama.c.jx	2007-05-17 17:07:31.000000000 -0400
8517f83
+++ xorg-server-1.3.0.0/randr/rrxinerama.c	2007-05-31 21:41:13.000000000 -0400
8517f83
@@ -147,12 +147,6 @@
8517f83
 }
8517f83
 
8517f83
 static Bool
8517f83
-RRXineramaScreenActive (ScreenPtr pScreen)
8517f83
-{
8517f83
-    return rrGetScrPriv(pScreen) != NULL;
8517f83
-}
8517f83
-
8517f83
-static Bool
8517f83
 RRXineramaCrtcActive (RRCrtcPtr crtc)
8517f83
 {
8517f83
     return crtc->mode != NULL && crtc->numOutputs > 0;
8517f83
@@ -164,7 +158,7 @@
8517f83
     int	i, n;
8517f83
     
8517f83
     n = 0;
8517f83
-    if (RRXineramaScreenActive (pScreen))
8517f83
+    if (rrGetScrPriv (pScreen))
8517f83
     {
8517f83
 	rrScrPriv(pScreen);
8517f83
 	for (i = 0; i < pScrPriv->numCrtcs; i++)
8517f83
@@ -174,6 +168,12 @@
8517f83
     return n;
8517f83
 }
8517f83
 
8517f83
+static Bool
8517f83
+RRXineramaScreenActive (ScreenPtr pScreen)
8517f83
+{
8517f83
+    return RRXineramaScreenCount (pScreen) > 0;
8517f83
+}
8517f83
+
8517f83
 int
8517f83
 ProcRRXineramaGetScreenCount(ClientPtr client)
8517f83
 {