randr: unexport and document RRClientKnowsRates()

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 14:45:42 +02:00
parent c9a1dd9281
commit 9dde572f29
2 changed files with 9 additions and 4 deletions

View File

@ -595,10 +595,6 @@ extern _X_EXPORT Bool
extern _X_EXPORT Bool
RRCrtcGammaSetSize(RRCrtcPtr crtc, int size);
/* rrdispatch.c */
extern _X_EXPORT Bool
RRClientKnowsRates(ClientPtr pClient);
extern _X_EXPORT void
RRLeaseTerminated(RRLeasePtr lease);

View File

@ -250,4 +250,13 @@ 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);
#endif /* _XSERVER_RANDRSTR_PRIV_H_ */