randr: re-export RRClientKnowsRates() 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:25:33 +02:00
parent 15bb2bbb37
commit ec7a89a92c
2 changed files with 10 additions and 9 deletions

View File

@ -731,6 +731,16 @@ RRProviderPtr RRProviderCreate(ScreenPtr pScreen, const char *name,
_X_EXPORT /* just for Nvidia legacy */
void RRProviderSetCapabilities(RRProviderPtr provider, uint32_t capabilities);
/*
* Check whether client is operating on recent enough protocol version
* to know about refresh rates. This has influence on reply packet formats
*
* @param pClient the client to check
* @return TRUE if client using recent enough protocol version
*/
_X_EXPORT /* just for Nvidia legacy */
Bool RRClientKnowsRates(ClientPtr pClient);
#endif /* _RANDRSTR_H_ */
/*

View File

@ -222,15 +222,6 @@ Bool RRReplaceScanoutPixmap(DrawablePtr pDrawable, PixmapPtr pPixmap, Bool enabl
*/
Bool RRHasScanoutPixmap(ScreenPtr pScreen);
/*
* Check whether client is operating on recent enough protocol version
* to know about refresh rates. This has influence on reply packet formats
*
* @param pClient the client to check
* @return TRUE if client using recent enough protocol version
*/
Bool RRClientKnowsRates(ClientPtr pClient);
/*
* Called by DIX to notify RANDR extension that a lease had been terminated.
*