From 538a8a80cda2158390b5e0c15563f8be622fb0fc Mon Sep 17 00:00:00 2001 From: "Enrico Weigelt, metux IT consult" Date: Fri, 16 May 2025 16:43:44 +0200 Subject: [PATCH] randr: unexport and document RRQueryProviderProperty() 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 2e2aa8c2f..d0e66b040 100644 --- a/randr/randrstr.h +++ b/randr/randrstr.h @@ -675,9 +675,6 @@ RRConfigureOutputProperty(RROutputPtr output, Atom property, /* rrprovider.c */ #define PRIME_SYNC_PROP "PRIME Synchronization" -extern _X_EXPORT RRPropertyPtr - RRQueryProviderProperty(RRProviderPtr provider, Atom property); - extern _X_EXPORT void RRDeleteProviderProperty(RRProviderPtr provider, Atom property); diff --git a/randr/randrstr_priv.h b/randr/randrstr_priv.h index 9b01b6c7c..aeb44f7d7 100644 --- a/randr/randrstr_priv.h +++ b/randr/randrstr_priv.h @@ -443,4 +443,14 @@ void RRProviderAutoConfigGpuScreen(ScreenPtr pScreen, ScreenPtr primaryScreen); */ RRPropertyValuePtr RRGetProviderProperty(RRProviderPtr provider, Atom property, Bool pending); +/* + * Retrieve full property structure + * (instead of just the value -- @see RRGetProviderProperty) + * + * @param provider the provider to query + * @param property Atom ID of the property to retrieve + * @return pointer to render property structure if found, otherwise NULL + */ +RRPropertyPtr RRQueryProviderProperty(RRProviderPtr provider, Atom property); + #endif /* _XSERVER_RANDRSTR_PRIV_H_ */