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.
This commit is contained in:
Keith Packard 2007-07-14 12:36:15 -07:00
parent aed6569309
commit 9fc36a391c

View File

@ -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)
{