summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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);