From 45631357feae3c04587a172ca852fd7c9ca163ce Mon Sep 17 00:00:00 2001 From: Keith Packard <keithp@neko.keithp.com> 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 files changed, 4 insertions(+), 0 deletions(-) diff --git a/hw/xfree86/modes/xf86RandR12.c b/hw/xfree86/modes/xf86RandR12.c index 74f7b7a..532f049 100644 --- a/hw/xfree86/modes/xf86RandR12.c +++ b/hw/xfree86/modes/xf86RandR12.c @@ -749,6 +749,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) { -- 1.5.2.4