|
Lines 323-329
Link Here
|
| 323 |
/* Fill in the primary monitor data first |
323 |
/* Fill in the primary monitor data first |
| 324 |
*/ |
324 |
*/ |
| 325 |
if (list.client_primary >= 0) { |
325 |
if (list.client_primary >= 0) { |
| 326 |
RRMonitorSetFromClient(pScrPriv->monitors[list.client_primary], mon); |
326 |
RRMonitorSetFromServer(list.server_crtc[list.server_primary], mon); |
| 327 |
mon++; |
327 |
mon++; |
| 328 |
} else if (list.server_primary >= 0) { |
328 |
} else if (list.server_primary >= 0) { |
| 329 |
RRMonitorSetFromServer(pScrPriv->crtcs[list.server_primary], mon); |
329 |
RRMonitorSetFromServer(pScrPriv->crtcs[list.server_primary], mon); |
|
Lines 354-361
Link Here
|
| 354 |
|
354 |
|
| 355 |
/* And finish with the list of crtc-inspired monitors |
355 |
/* And finish with the list of crtc-inspired monitors |
| 356 |
*/ |
356 |
*/ |
| 357 |
for (c = 0; c < pScrPriv->numCrtcs; c++) { |
357 |
for (c = 0; c < list.num_crtcs; c++) { |
| 358 |
RRCrtcPtr crtc = pScrPriv->crtcs[c]; |
358 |
RRCrtcPtr crtc = list.server_crtc[c]; |
| 359 |
if (c == list.server_primary && list.client_primary < 0) |
359 |
if (c == list.server_primary && list.client_primary < 0) |
| 360 |
continue; |
360 |
continue; |
| 361 |
|
361 |
|