From: Dave Airlie <[email protected]>

Signed-off-by: Dave Airlie <[email protected]>
---
 randr/rrmonitor.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/randr/rrmonitor.c b/randr/rrmonitor.c
index 02c58c5..66e5c3c 100644
--- a/randr/rrmonitor.c
+++ b/randr/rrmonitor.c
@@ -336,7 +336,7 @@ RRMonitorMakeList(ScreenPtr screen, RRMonitorPtr 
*monitors_ret, int *nmon_ret)
      */
     for (c = 0; c < pScrPriv->numCrtcs; c++) {
         RRCrtcPtr crtc = pScrPriv->crtcs[c];
-        if (c == list.server_primary)
+        if (c == list.server_primary && list.client_primary < 0)
             continue;
 
         if (!list.server_crtc[c])
-- 
2.1.0

_______________________________________________
[email protected]: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: http://lists.x.org/mailman/listinfo/xorg-devel

Reply via email to