Allow DDX to not supply a property set notification function.

Check rrOutputSetProperty and only call if it isn't NULL.
This commit is contained in:
Keith Packard 2007-01-30 19:05:20 -08:00
parent 895250181b
commit 8798c8cfa8

View File

@ -215,7 +215,7 @@ RRChangeOutputProperty (RROutputPtr output, Atom property, Atom type,
output->properties = prop;
}
if (!prop->is_pending) {
if (!prop->is_pending && pScrPriv->rrOutputSetProperty) {
/* What should we do in case of failure? */
pScrPriv->rrOutputSetProperty(output->pScreen, output,
prop->propertyName, prop_value);