From c1f2be1f3fd0c80cb4c85b98140b98aa9311242b Mon Sep 17 00:00:00 2001 From: Keith Packard Date: Fri, 30 Jan 2009 19:14:36 -0800 Subject: 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 --- randr/rroutput.c | 5 ----- 1 file changed, 5 deletions(-) (limited to 'randr/rroutput.c') diff --git a/randr/rroutput.c b/randr/rroutput.c index 0a211e572..0ae7873e2 100644 --- a/randr/rroutput.c +++ b/randr/rroutput.c @@ -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; -- cgit v1.2.3