]> git.pld-linux.org Git - packages/xorg-xserver-server.git/blame - xorg-xserver-server-nvidia-randr.patch
- up to 1.10.0.902
[packages/xorg-xserver-server.git] / xorg-xserver-server-nvidia-randr.patch
CommitLineData
4c12930e
JR
1From d77ffa918b2aaa3ca1deb17ed0145199d0f863da Mon Sep 17 00:00:00 2001
2From: Julien Cristau <jcristau@debian.org>
3Date: Mon, 31 Jan 2011 13:14:47 +0000
4Subject: Revert "randr: check for virtual size limits before set crtc"
5
6Apparently these checks break rotation with the nvidia drivers:
7https://bbs.archlinux.org/viewtopic.php?pid=877761
8http://bugs.debian.org/611619
9Let's not do that in a stable branch.
10
11This reverts commit 6a6d907e77777057cadbd80572119c09732385cd.
12
13Signed-off-by: Julien Cristau <jcristau@debian.org>
14---
15diff --git a/randr/rrscreen.c b/randr/rrscreen.c
16index 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--
39cgit v0.8.3-6-g21f6
This page took 0.660475 seconds and 4 git commands to generate.