From e3add7c8ecbb2a0a662860f208f6ae7d1857c717 Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Tue, 16 Jan 2007 12:59:34 -0800 Subject: [PATCH] Don't forget to add the property we configure to the properties list. --- randr/rrproperty.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/randr/rrproperty.c b/randr/rrproperty.c index 56bb39a85..4b77d3936 100644 --- a/randr/rrproperty.c +++ b/randr/rrproperty.c @@ -298,6 +298,12 @@ RRConfigureOutputProperty (RROutputPtr output, Atom property, if (prop->valid_values) xfree (prop->valid_values); prop->valid_values = new_values; + + if (add) { + prop->next = output->properties; + output->properties = prop; + } + return Success; }