randr: unexport and document RRChangeProviderProperty()

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:56:26 +02:00
parent 7b303bd8d0
commit 7c0c2f1460
2 changed files with 17 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
RRChangeProviderProperty(RRProviderPtr provider, Atom property, Atom type,
int format, int mode, unsigned long len,
void *value, Bool sendevent, Bool pending);
extern _X_EXPORT int
RRConfigureProviderProperty(RRProviderPtr provider, Atom property,
Bool pending, Bool range, Bool immutable,

View File

@ -461,4 +461,21 @@ RRPropertyPtr RRQueryProviderProperty(RRProviderPtr provider, Atom property);
*/
void RRDeleteProviderProperty(RRProviderPtr provider, Atom property);
/*
* Change property of provider
*
* @param provider the provider to change property on
* @param property Atom ID of the property to change
* @param type type Atom ID of the new property value
* @param format format (8/16/32) of the new property value
* @param len length in (format specific) units of the new property value
* @param value pointer to value data
* @param sendevent TRUE when change notify event shall be sent
* @param pending TRUE when pending instead of current value shall be changed
* @return X error code
*/
int RRChangeProviderProperty(RRProviderPtr provider, Atom property, Atom type,
int format, int mode, unsigned long len,
void *value, Bool sendevent, Bool pending);
#endif /* _XSERVER_RANDRSTR_PRIV_H_ */