From 81df43802bfccdcadb4757111f6d386bd6d03c99 Mon Sep 17 00:00:00 2001 From: "Enrico Weigelt, metux IT consult" Date: Fri, 16 May 2025 17:15:03 +0200 Subject: [PATCH] randr: unexport and document RRGetOutputProperty() Not used by any external drivers, so no need to keep it exported. Signed-off-by: Enrico Weigelt, metux IT consult --- randr/randrstr.h | 3 --- randr/randrstr_priv.h | 10 ++++++++++ 2 files changed, 10 insertions(+), 3 deletions(-) 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 *