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 <info@metux.net>
This commit is contained in:
Enrico Weigelt, metux IT consult 2025-05-16 16:43:44 +02:00
parent 08110b9192
commit 538a8a80cd
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 RRPropertyPtr
RRQueryProviderProperty(RRProviderPtr provider, Atom property);
extern _X_EXPORT void
RRDeleteProviderProperty(RRProviderPtr provider, Atom property);

View File

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