From 8798c8cfa888521cc47173bf6db00b5724da4a54 Mon Sep 17 00:00:00 2001 From: Keith Packard Date: Tue, 30 Jan 2007 19:05:20 -0800 Subject: [PATCH] Allow DDX to not supply a property set notification function. Check rrOutputSetProperty and only call if it isn't NULL. --- randr/rrproperty.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/randr/rrproperty.c b/randr/rrproperty.c index ed01c88c7..03a1b5c94 100644 --- a/randr/rrproperty.c +++ b/randr/rrproperty.c @@ -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);