mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2025-12-25 09:30:12 +01:00
RANDR 1.1 compat: remove senseless comparison against the virtual size.
This commit is contained in:
parent
14726b776d
commit
aad1c37b09
1 changed files with 1 additions and 3 deletions
|
|
@ -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…
Add table
Reference in a new issue