From 9dde572f2919ba8b450722e1799031129dc6bf67 Mon Sep 17 00:00:00 2001 From: "Enrico Weigelt, metux IT consult" Date: Fri, 16 May 2025 14:45:42 +0200 Subject: [PATCH] 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 --- randr/randrstr.h | 4 ---- randr/randrstr_priv.h | 9 +++++++++ 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/randr/randrstr.h b/randr/randrstr.h index 132995106..7c5836704 100644 --- a/randr/randrstr.h +++ b/randr/randrstr.h @@ -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); diff --git a/randr/randrstr_priv.h b/randr/randrstr_priv.h index f36fa1189..22a0f0673 100644 --- a/randr/randrstr_priv.h +++ b/randr/randrstr_priv.h @@ -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_ */