summaryrefslogtreecommitdiff
path: root/randr
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:15:53 -0800
commitc1f2be1f3fd0c80cb4c85b98140b98aa9311242b (patch)
treec6843b1a096c745cdf16ca12416f5d3729fd6d79 /randr
parentdd098501d800571e71d06ffc936635a6c9d44e05 (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>
Diffstat (limited to 'randr')
-rw-r--r--randr/rroutput.c5
1 files changed, 0 insertions, 5 deletions
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;