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:
parent
895250181b
commit
8798c8cfa8
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue
Block a user