Skip to content

Commit

Permalink
RandR SetOutputPrimary should work with or without a crtc connected
Browse files Browse the repository at this point in the history
The test was inverted from the protocol spec, and besides, the test is bogus
anyways.

Signed-off-by: Keith Packard <[email protected]>
  • Loading branch information
keith-packard committed Jan 31, 2009
1 parent dd09850 commit c1f2be1
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions randr/rroutput.c
Original file line number Diff line number Diff line change
Expand Up @@ -588,11 +588,6 @@ ProcRRSetOutputPrimary(ClientPtr client)
return RRErrorBase + BadRROutput;
}

if (output->crtc) {
client->errorValue = stuff->output;
return BadMatch;
}

if (output->pScreen != pWin->drawable.pScreen) {
client->errorValue = stuff->window;
return BadMatch;
Expand Down

0 comments on commit c1f2be1

Please sign in to comment.