randr: re-export RRProviderSetCapabilities() for Nvidia legacy

NVidia's proprietary driver does it's own randr implementation (why ?)
and needs this function for this.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
This commit is contained in:
Enrico Weigelt, metux IT consult 2025-06-05 11:20:40 +02:00
parent da3791e9ce
commit 15bb2bbb37
2 changed files with 9 additions and 8 deletions

View File

@ -722,6 +722,15 @@ _X_EXPORT /* just for Nvidia legacy */
RRProviderPtr RRProviderCreate(ScreenPtr pScreen, const char *name,
int nameLen);
/*
* Set provider capabilities field
*
* @param provider the provider whose capabilities are to be set
* @param capabilities the new capabilities
*/
_X_EXPORT /* just for Nvidia legacy */
void RRProviderSetCapabilities(RRProviderPtr provider, uint32_t capabilities);
#endif /* _RANDRSTR_H_ */
/*

View File

@ -381,14 +381,6 @@ Bool RRProviderInit(void);
*/
void RRProviderInitErrorValue(void);
/*
* Set provider capabilities field
*
* @param provider the provider whose capabilities are to be set
* @param capabilities the new capabilities
*/
void RRProviderSetCapabilities(RRProviderPtr provider, uint32_t capabilities);
/*
* Destroy a provider and free it's memory
*