diff options
author | Eric Anholt <eric@anholt.net> | 2007-01-16 12:59:34 -0800 |
---|---|---|
committer | Eric Anholt <eric@anholt.net> | 2007-01-16 13:01:44 -0800 |
commit | e3add7c8ecbb2a0a662860f208f6ae7d1857c717 (patch) | |
tree | 171da4531bcbb0ce32d40e6ca166c40f96e0270b /randr/rrproperty.c | |
parent | 7fccec91c46baac4f8d2965180dc535b4eb7d65c (diff) |
Don't forget to add the property we configure to the properties list.
Diffstat (limited to 'randr/rrproperty.c')
-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 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; } |