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;
|
return FALSE;
|
||||||
RRRegisterRate (pScreen, pSize, refresh);
|
RRRegisterRate (pScreen, pSize, refresh);
|
||||||
|
|
||||||
if (xf86ModesEqual(mode, scrp->currentMode) &&
|
if (xf86ModesEqual(mode, scrp->currentMode))
|
||||||
mode->HDisplay == scrp->virtualX &&
|
|
||||||
mode->VDisplay == scrp->virtualY)
|
|
||||||
{
|
{
|
||||||
RRSetCurrentConfig (pScreen, randrp->rotation, refresh, pSize);
|
RRSetCurrentConfig (pScreen, randrp->rotation, refresh, pSize);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user