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:
parent
dd098501d8
commit
c1f2be1f3f
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue