RandR SetOutputPrimary should work with or without a crtc connected

The test was inverted from the protocol spec, and besides, the test is bogus
anyways.

Signed-off-by: Keith Packard <keithp@keithp.com>
This commit is contained in:
Keith Packard 2009-01-30 19:14:36 -08:00
parent dd098501d8
commit c1f2be1f3f

View File

@ -588,11 +588,6 @@ ProcRRSetOutputPrimary(ClientPtr client)
return RRErrorBase + BadRROutput; return RRErrorBase + BadRROutput;
} }
if (output->crtc) {
client->errorValue = stuff->output;
return BadMatch;
}
if (output->pScreen != pWin->drawable.pScreen) { if (output->pScreen != pWin->drawable.pScreen) {
client->errorValue = stuff->window; client->errorValue = stuff->window;
return BadMatch; return BadMatch;