randr: unexport and document RRConfigureProviderProperty()

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 17:00:07 +02:00
parent 7c0c2f1460
commit 097b9e9163
2 changed files with 15 additions and 5 deletions

View File

@ -675,11 +675,6 @@ RRConfigureOutputProperty(RROutputPtr output, Atom property,
/* rrprovider.c */
#define PRIME_SYNC_PROP "PRIME Synchronization"
extern _X_EXPORT int
RRConfigureProviderProperty(RRProviderPtr provider, Atom property,
Bool pending, Bool range, Bool immutable,
int num_values, INT32 *values);
/* rrxinerama.c */
#ifdef XINERAMA
extern _X_EXPORT void

View File

@ -478,4 +478,19 @@ int RRChangeProviderProperty(RRProviderPtr provider, Atom property, Atom type,
int format, int mode, unsigned long len,
void *value, Bool sendevent, Bool pending);
/*
* Configure a (custom) property in given provider
*
* @param provider the provider to configure property in
* @param property Atom ID of the property
* @param pending TRUE on pending value
* @param range TRUE when limited range
* @param immutable TRUE when it's immutable
* @param num_values number of allowed values
* @param values allowed values (array of num_values length)
*/
int RRConfigureProviderProperty(RRProviderPtr provider, Atom property,
Bool pending, Bool range, Bool immutable,
int num_values, INT32 *values);
#endif /* _XSERVER_RANDRSTR_PRIV_H_ */