diff options
author | Adam Jackson <ajax@redhat.com> | 2008-05-16 10:52:41 -0400 |
---|---|---|
committer | Adam Jackson <ajax@redhat.com> | 2008-05-16 11:10:33 -0400 |
commit | aad1c37b0951eae216ac323c5d8bfc6fbcf096bd (patch) | |
tree | 06cc9f0c8e368eaa4bc7db9780b06ec3ea31f263 | |
parent | 14726b776d6cebb7d864b6ffa7554e1ce5637d5c (diff) |
RANDR 1.1 compat: remove senseless comparison against the virtual size.
-rw-r--r-- | hw/xfree86/modes/xf86RandR12.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/hw/xfree86/modes/xf86RandR12.c b/hw/xfree86/modes/xf86RandR12.c index 4767f2671..6c4ab4317 100644 --- a/hw/xfree86/modes/xf86RandR12.c +++ b/hw/xfree86/modes/xf86RandR12.c @@ -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); } |