mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2026-05-08 13:48:03 +02:00
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 commit6a6d907e77. Signed-off-by: Julien Cristau <jcristau@debian.org> (cherry picked from commitd77ffa918b)
This commit is contained in:
parent
a200a3cf86
commit
ca766bb653
1 changed files with 0 additions and 12 deletions
|
|
@ -921,18 +921,6 @@ ProcRRSetScreenConfig (ClientPtr client)
|
||||||
width = mode->mode.height;
|
width = mode->mode.height;
|
||||||
height = mode->mode.width;
|
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)
|
if (width != pScreen->width || height != pScreen->height)
|
||||||
{
|
{
|
||||||
int c;
|
int c;
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue