summaryrefslogtreecommitdiff
path: root/randr/rroutput.c
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2009-01-30 19:14:36 -0800
committerKeith Packard <keithp@keithp.com>2009-01-30 19:16:15 -0800
commit759ed0679a030f502b74a6ff44c15d1c97d9a937 (patch)
tree4c136c21ec8ce62ffdf75580642e036356fd911a /randr/rroutput.c
parentb893dc59da9f5a7afb59ea0b2cd794872fc5727f (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.c5
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;