From 0230f39fa3b3076b7694b6443a7a3ad8f63f7b55 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. (cherry picked from commit aad1c37b0951eae216ac323c5d8bfc6fbcf096bd) --- 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 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); }