From c259755666d135e6455e078a14343175bf33e5ee Mon Sep 17 00:00:00 2001 From: Alexander Kerner Date: Thu, 14 Apr 2011 00:43:24 +0200 Subject: [PATCH] Revert "randr: check for virtual size limits before set crtc" This reverts commit d1107918d4626268803b54033a07405122278e7f. That change breaks rotation in kdrive. Revert it until the kdrive is fixed. --- randr/rrscreen.c | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/randr/rrscreen.c b/randr/rrscreen.c index 1bc1a9ea1..f58e6578a 100644 --- a/randr/rrscreen.c +++ b/randr/rrscreen.c @@ -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;