]>
Commit | Line | Data |
---|---|---|
4c12930e JR |
1 | From d77ffa918b2aaa3ca1deb17ed0145199d0f863da Mon Sep 17 00:00:00 2001 |
2 | From: Julien Cristau <jcristau@debian.org> | |
3 | Date: Mon, 31 Jan 2011 13:14:47 +0000 | |
4 | Subject: Revert "randr: check for virtual size limits before set crtc" | |
5 | ||
6 | Apparently these checks break rotation with the nvidia drivers: | |
7 | https://bbs.archlinux.org/viewtopic.php?pid=877761 | |
8 | http://bugs.debian.org/611619 | |
9 | Let's not do that in a stable branch. | |
10 | ||
11 | This reverts commit 6a6d907e77777057cadbd80572119c09732385cd. | |
12 | ||
13 | Signed-off-by: Julien Cristau <jcristau@debian.org> | |
14 | --- | |
15 | diff --git a/randr/rrscreen.c b/randr/rrscreen.c | |
16 | index 0fee1f5..630ff57 100644 | |
17 | --- a/randr/rrscreen.c | |
18 | +++ b/randr/rrscreen.c | |
19 | @@ -921,18 +921,6 @@ ProcRRSetScreenConfig (ClientPtr client) | |
20 | width = mode->mode.height; | |
21 | height = mode->mode.width; | |
22 | } | |
23 | - | |
24 | - if (width < pScrPriv->minWidth || pScrPriv->maxWidth < width) { | |
25 | - client->errorValue = width; | |
26 | - free(pData); | |
27 | - return BadValue; | |
28 | - } | |
29 | - if (height < pScrPriv->minHeight || pScrPriv->maxHeight < height) { | |
30 | - client->errorValue = height; | |
31 | - free(pData); | |
32 | - return BadValue; | |
33 | - } | |
34 | - | |
35 | if (width != pScreen->width || height != pScreen->height) | |
36 | { | |
37 | int c; | |
38 | -- | |
39 | cgit v0.8.3-6-g21f6 |