RANDR 1.1 compat: remove senseless comparison against the virtual size.

(cherry picked from commit aad1c37b09)
This commit is contained in:
Adam Jackson 2008-05-16 10:52:41 -04:00
parent 95985256ef
commit 0230f39fa3

View file

@ -119,9 +119,7 @@ xf86RandR12GetInfo (ScreenPtr pScreen, Rotation *rotations)
return FALSE;
RRRegisterRate (pScreen, pSize, refresh);
if (xf86ModesEqual(mode, scrp->currentMode) &&
mode->HDisplay == scrp->virtualX &&
mode->VDisplay == scrp->virtualY)
if (xf86ModesEqual(mode, scrp->currentMode))
{
RRSetCurrentConfig (pScreen, randrp->rotation, refresh, pSize);
}