diff options
author | Keith Packard <keithp@neko.keithp.com> | 2007-07-14 12:36:15 -0700 |
---|---|---|
committer | Keith Packard <keithp@neko.keithp.com> | 2007-07-19 13:30:51 -0700 |
commit | 9fc36a391c11170cde1a28f548a2cae5f6f20d5b (patch) | |
tree | b6d233aabe123405f443ebe6d052d15a8e657198 /hw | |
parent | aed6569309223ecc7e26fa84e4d430e422455607 (diff) |
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.
Diffstat (limited to 'hw')
-rw-r--r-- | 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 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) { |