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 <info@metux.net>
This commit is contained in:
Enrico Weigelt, metux IT consult 2025-05-16 16:40:37 +02:00
parent 1e7752f10d
commit 08110b9192
2 changed files with 10 additions and 3 deletions

View File

@ -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);

View File

@ -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_ */