From 19b2e62b46b36c33af7140f455df2f407f816533 Mon Sep 17 00:00:00 2001 From: "Enrico Weigelt, metux IT consult" Date: Fri, 16 May 2025 17:18:28 +0200 Subject: [PATCH] (!1985) randr: unexport and document RRQueryOutputProperty() 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 | 9 +++++++++ 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/randr/randrstr.h b/randr/randrstr.h index 32b3cf12c..b82f01ca5 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 RRPropertyPtr -RRQueryOutputProperty(RROutputPtr output, Atom property); - extern _X_EXPORT void RRDeleteOutputProperty(RROutputPtr output, Atom property); diff --git a/randr/randrstr_priv.h b/randr/randrstr_priv.h index e0e7b45c0..1f17fca89 100644 --- a/randr/randrstr_priv.h +++ b/randr/randrstr_priv.h @@ -387,6 +387,15 @@ void RRPointerScreenConfigured(ScreenPtr pScreen); */ RRPropertyValuePtr RRGetOutputProperty(RROutputPtr output, Atom property, Bool pending); +/* + * Retrieve full property structure from output + * + * @param output the output to query + * @param property Atom ID of the property to query + * @return pointer to property structure, or NULL if not found + */ +RRPropertyPtr RRQueryOutputProperty(RROutputPtr output, Atom property); + /* * Delete all properties on given output *