summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam Jackson <ajax@redhat.com>2008-05-16 10:52:41 -0400
committerAdam Jackson <ajax@redhat.com>2008-05-16 11:11:40 -0400
commit0230f39fa3b3076b7694b6443a7a3ad8f63f7b55 (patch)
tree3f78fa9bb4c751e0c2d18ac1b3e879216aa381f3
parent95985256efa7e86cefe4b1541780eda12c0c8f89 (diff)
RANDR 1.1 compat: remove senseless comparison against the virtual size.
(cherry picked from commit aad1c37b0951eae216ac323c5d8bfc6fbcf096bd)
-rw-r--r--hw/xfree86/modes/xf86RandR12.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/hw/xfree86/modes/xf86RandR12.c b/hw/xfree86/modes/xf86RandR12.c
index 14c2d41c1..6f8ccdf84 100644
--- a/hw/xfree86/modes/xf86RandR12.c
+++ b/hw/xfree86/modes/xf86RandR12.c
@@ -119,9 +119,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);
}