From 08110b91922f91bcb919adaa786ab027866445b2 Mon Sep 17 00:00:00 2001 From: "Enrico Weigelt, metux IT consult" Date: Fri, 16 May 2025 16:40:37 +0200 Subject: [PATCH] randr: unexport and document RRGetProviderProperty() 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 9d02f49af..2e2aa8c2f 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 RRPropertyValuePtr - RRGetProviderProperty(RRProviderPtr provider, Atom property, Bool pending); - extern _X_EXPORT RRPropertyPtr RRQueryProviderProperty(RRProviderPtr provider, Atom property); diff --git a/randr/randrstr_priv.h b/randr/randrstr_priv.h index 8cbf2c8d7..9b01b6c7c 100644 --- a/randr/randrstr_priv.h +++ b/randr/randrstr_priv.h @@ -433,4 +433,14 @@ void RRDeliverProviderEvent(ClientPtr pClient, WindowPtr pWin, RRProviderPtr pro */ void RRProviderAutoConfigGpuScreen(ScreenPtr pScreen, ScreenPtr primaryScreen); +/* + * Retrieve property value from provider + * + * @param provider the provider to query + * @param property Atom ID of the property to retrieve + * @param pending TRUE if pending (instead of current) value shall be fetched + * @return pointer to property value if found, otherwise NULL + */ +RRPropertyValuePtr RRGetProviderProperty(RRProviderPtr provider, Atom property, Bool pending); + #endif /* _XSERVER_RANDRSTR_PRIV_H_ */