diff options
author | Eric Anholt <eric@anholt.net> | 2007-01-16 12:59:34 -0800 |
---|---|---|
committer | Keith Packard <keithp@neko.keithp.com> | 2007-01-29 23:01:50 -0800 |
commit | 11307c4b88244afc8b6a4dac36aa063c083b36d4 (patch) | |
tree | 86485a5dce7f34554aef2150d1d27cfd0de72938 /randr | |
parent | 07e5c928ab9904ef21678d236b8eb5ef6419ed51 (diff) |
Don't forget to add the property we configure to the properties list.
Diffstat (limited to 'randr')
-rw-r--r-- | randr/rrproperty.c | 6 |
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; } |