diff options
author | Keith Packard <keithp@keithp.com> | 2009-01-30 19:14:36 -0800 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2009-01-30 19:16:15 -0800 |
commit | 759ed0679a030f502b74a6ff44c15d1c97d9a937 (patch) | |
tree | 4c136c21ec8ce62ffdf75580642e036356fd911a /randr/rroutput.c | |
parent | b893dc59da9f5a7afb59ea0b2cd794872fc5727f (diff) |
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>
(cherry picked from commit c1f2be1f3fd0c80cb4c85b98140b98aa9311242b)
Diffstat (limited to 'randr/rroutput.c')
-rw-r--r-- | randr/rroutput.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/randr/rroutput.c b/randr/rroutput.c index 82c2530fe..939c14dd9 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; |