From aad1c37b0951eae216ac323c5d8bfc6fbcf096bd Mon Sep 17 00:00:00 2001 From: Adam Jackson Date: Fri, 16 May 2008 10:52:41 -0400 Subject: [PATCH] RANDR 1.1 compat: remove senseless comparison against the virtual size. --- hw/xfree86/modes/xf86RandR12.c | 4 +--- 1 file changed, 1 insertion(+), 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); }