summaryrefslogtreecommitdiff
path: root/randr
diff options
context:
space:
mode:
authorEric Anholt <eric@anholt.net>2007-01-16 12:59:34 -0800
committerKeith Packard <keithp@neko.keithp.com>2007-01-29 23:01:50 -0800
commit11307c4b88244afc8b6a4dac36aa063c083b36d4 (patch)
tree86485a5dce7f34554aef2150d1d27cfd0de72938 /randr
parent07e5c928ab9904ef21678d236b8eb5ef6419ed51 (diff)
Don't forget to add the property we configure to the properties list.
Diffstat (limited to 'randr')
-rw-r--r--randr/rrproperty.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/randr/rrproperty.c b/randr/rrproperty.c
index 13e848340..dd1b5e0a1 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;
}