summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulien Cristau <jcristau@debian.org>2011-01-31 14:14:47 +0100
committerJeremy Huddleston <jeremyhu@apple.com>2011-03-08 21:15:18 -0800
commitca766bb6533cac40908a2eca8bec0c19d425866a (patch)
tree000133ba30baf4dd91fec76e4d11480347ce9109
parenta200a3cf8613d1c64b26a9149acaaebbdb4cd174 (diff)
Revert "randr: check for virtual size limits before set crtc"
Apparently these checks break rotation with the nvidia drivers: https://bbs.archlinux.org/viewtopic.php?pid=877761 http://bugs.debian.org/611619 Let's not do that in a stable branch. This reverts commit 6a6d907e77777057cadbd80572119c09732385cd. Signed-off-by: Julien Cristau <jcristau@debian.org> (cherry picked from commit d77ffa918b2aaa3ca1deb17ed0145199d0f863da)
-rw-r--r--randr/rrscreen.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/randr/rrscreen.c b/randr/rrscreen.c
index 0fee1f57c..630ff5742 100644
--- a/randr/rrscreen.c
+++ b/randr/rrscreen.c
@@ -921,18 +921,6 @@ ProcRRSetScreenConfig (ClientPtr client)
width = mode->mode.height;
height = mode->mode.width;
}
-
- if (width < pScrPriv->minWidth || pScrPriv->maxWidth < width) {
- client->errorValue = width;
- free(pData);
- return BadValue;
- }
- if (height < pScrPriv->minHeight || pScrPriv->maxHeight < height) {
- client->errorValue = height;
- free(pData);
- return BadValue;
- }
-
if (width != pScreen->width || height != pScreen->height)
{
int c;