summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKeith Packard <keithp@neko.keithp.com>2007-01-30 19:05:20 -0800
committerKeith Packard <keithp@neko.keithp.com>2007-01-30 19:05:20 -0800
commit8798c8cfa888521cc47173bf6db00b5724da4a54 (patch)
treeb8068a9dca61412561b9fabe20c286272238426c
parent895250181b21a76cab815b6ee2862d8a0c3a2fbf (diff)
Allow DDX to not supply a property set notification function.randr-1.2-for-server-1.2
Check rrOutputSetProperty and only call if it isn't NULL.
-rw-r--r--randr/rrproperty.c2
1 files changed, 1 insertions, 1 deletions
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);