From 9fc36a391c11170cde1a28f548a2cae5f6f20d5b Mon Sep 17 00:00:00 2001 From: Keith Packard Date: Sat, 14 Jul 2007 12:36:15 -0700 Subject: [PATCH] Make pending property changes trigger mode setting. The DDX code was ignoring pending properties for computing when mode setting was required. This meant that configurations differing only in property values would not cause the mode to be set. --- hw/xfree86/modes/xf86RandR12.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/hw/xfree86/modes/xf86RandR12.c b/hw/xfree86/modes/xf86RandR12.c index f5215ef94..6c3bf8d09 100644 --- a/hw/xfree86/modes/xf86RandR12.c +++ b/hw/xfree86/modes/xf86RandR12.c @@ -750,6 +750,10 @@ xf86RandR12CrtcSet (ScreenPtr pScreen, output->crtc = new_crtc; } } + for (ro = 0; ro < num_randr_outputs; ro++) + if (randr_outputs[ro]->pendingProperties) + changed = TRUE; + /* XXX need device-independent mode setting code through an API */ if (changed) {