mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2025-12-21 23:50:06 +01:00
RANDR 1.1 compat: remove senseless comparison against the virtual size.
(cherry picked from commit aad1c37b09)
This commit is contained in:
parent
95985256ef
commit
0230f39fa3
1 changed files with 1 additions and 3 deletions
|
|
@ -119,9 +119,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…
Add table
Reference in a new issue