Skip to content

Commit

Permalink
Revert "randr: check for virtual size limits before set crtc"
Browse files Browse the repository at this point in the history
This reverts commit d110791.

That change breaks rotation in kdrive. Revert it until the kdrive is fixed.
  • Loading branch information
Alexander Kerner committed Apr 13, 2011
1 parent 0d0e44c commit c259755
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions randr/rrscreen.c
Original file line number Diff line number Diff line change
Expand Up @@ -915,18 +915,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;
Expand Down

0 comments on commit c259755

Please sign in to comment.