RANDR 1.1 compat: remove senseless comparison against the virtual size.
This commit is contained in:
parent
14726b776d
commit
aad1c37b09
|
@ -129,9 +129,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);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user