diff --git a/randr/randrstr.h b/randr/randrstr.h index caa06fce7..32b3cf12c 100644 --- a/randr/randrstr.h +++ b/randr/randrstr.h @@ -648,9 +648,6 @@ extern _X_EXPORT Bool extern _X_EXPORT void RROutputDestroy(RROutputPtr output); -extern _X_EXPORT RRPropertyValuePtr -RRGetOutputProperty(RROutputPtr output, Atom property, Bool pending); - extern _X_EXPORT RRPropertyPtr RRQueryOutputProperty(RROutputPtr output, Atom property); diff --git a/randr/randrstr_priv.h b/randr/randrstr_priv.h index 881eb0302..e0e7b45c0 100644 --- a/randr/randrstr_priv.h +++ b/randr/randrstr_priv.h @@ -377,6 +377,16 @@ void RROutputInitErrorValue(void); */ void RRPointerScreenConfigured(ScreenPtr pScreen); +/* + * Retrieve output property value + * + * @param output the output to query + * @param property Atom ID of the property to retrieve + * @param pending retrieve pending instead of current value + * @return pointer to property value or NULL (if not found) + */ +RRPropertyValuePtr RRGetOutputProperty(RROutputPtr output, Atom property, Bool pending); + /* * Delete all properties on given output *