Don't forget to add the property we configure to the properties list.
This commit is contained in:
parent
7fccec91c4
commit
e3add7c8ec
|
@ -298,6 +298,12 @@ RRConfigureOutputProperty (RROutputPtr output, Atom property,
|
||||||
if (prop->valid_values)
|
if (prop->valid_values)
|
||||||
xfree (prop->valid_values);
|
xfree (prop->valid_values);
|
||||||
prop->valid_values = new_values;
|
prop->valid_values = new_values;
|
||||||
|
|
||||||
|
if (add) {
|
||||||
|
prop->next = output->properties;
|
||||||
|
output->properties = prop;
|
||||||
|
}
|
||||||
|
|
||||||
return Success;
|
return Success;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user